Skip to content

Commit

Permalink
fix: strip gave bad results
Browse files Browse the repository at this point in the history
  • Loading branch information
johnson2427 committed Jun 21, 2024
1 parent 19a99f1 commit 0fc1184
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ape_aws/accounts.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class KmsAccount(AccountAPI):

@property
def alias(self) -> str:
return self.key_alias.strip("alias/")
return self.key_alias.split("/")[1]

@property
def public_key(self):
Expand Down

0 comments on commit 0fc1184

Please sign in to comment.