ApeWorX / ape-aws

Plugin to interact with AWS for transactions on the Ethereum Blockchain
Apache License 2.0
2 stars 0 forks source link

Add missing alias property to KmsAccount #10

Closed johnson2427 closed 2 months ago

johnson2427 commented 2 months ago

Environment information

$ ape --version
0.8.4

$ ape plugins list

Installed Plugins
  aws    0.8.0a2.dev0+g6060cee.d20240621

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

linear[bot] commented 2 months ago

APE-1772 Add missing alias property to KmsAccount