From 0fc1184d3fdf9438695b2408c393800f5dcd3480 Mon Sep 17 00:00:00 2001 From: johnson2427 Date: Fri, 21 Jun 2024 12:50:51 -0500 Subject: [PATCH] fix: strip gave bad results --- ape_aws/accounts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ape_aws/accounts.py b/ape_aws/accounts.py index 1f0231a..6dd097f 100644 --- a/ape_aws/accounts.py +++ b/ape_aws/accounts.py @@ -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):