We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6060cee commit b367ec6Copy full SHA for b367ec6
ape_aws/accounts.py
@@ -38,6 +38,10 @@ class KmsAccount(AccountAPI):
38
key_id: str
39
key_arn: str
40
41
+ @property
42
+ def alias(self) -> str:
43
+ return self.key_alias.replace("alias/", "")
44
+
45
@property
46
def public_key(self):
47
return kms_client.get_public_key(self.key_id)
ape_aws/client.py
@@ -88,7 +88,7 @@ def raw_aliases(self) -> list[AliasResponse]:
88
AliasResponse(**page)
89
for alias_data in pages
90
for page in alias_data["Aliases"]
91
- if "alias/aws" not in page["AliasName"]
+ if "alias/aws/" not in page["AliasName"]
92
]
93
94
def get_public_key(self, key_id: str):
0 commit comments