Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add missing alias property to KmsAccount #10

Closed
johnson2427 opened this issue Jun 21, 2024 · 1 comment · Fixed by #11
Closed

Add missing alias property to KmsAccount #10

johnson2427 opened this issue Jun 21, 2024 · 1 comment · Fixed by #11
Assignees
Labels
bug Something isn't working

Comments

@johnson2427
Copy link
Collaborator

Environment information

$ ape --version
0.8.4

$ ape plugins list

Installed Plugins
  aws    0.8.0a2.dev0+g6060cee.d20240621
  • Python Version: 3.10.12
  • OS: linux

What went wrong?

when attempting to use ape accounts list --all we get this return:

Found 4 accounts in the 'aws' plugin:
  0xFC28b8BBf5Dc0D85804a21c5C5412fD1BAd39b5C
  0xa11F0200c0F4292B44501051Fc1B3B13dda8c010
  0x532B0Fd2569494e6c2c7429B50ea949bF2a0B9cA
  0xE1eFB6289EF575CeBa78115502894E099Ec3FD20

Found 4 accounts in the 'accounts' plugin:
  0x8082513C5794917c91F8dAcc2303Ed65e0B0bD65 (alias: 'ape_test')
  0x47c93237A35510D91b85f01454F82Af7f620bD6c (alias: 'main')
  0x47c93237A35510D91b85f01454F82Af7f620bD6c (alias: 'acc0')
  0x6ed7A062D364771cD4e3BAe42E46E32752f296A8 (alias: 'acc1')

Because the aliases are missing from the aws KMS keys, we are unable to use accounts.load(<alias>).

How can it be fixed?

Add alias property to KmsAccount

@johnson2427 johnson2427 added the bug Something isn't working label Jun 21, 2024
Copy link

linear bot commented Jun 21, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant