bruj0 / vault-recovery-key

This tool will decrypt your Vault recovery keys when using KMS
MIT License
17 stars 11 forks source link

Getting Couldnt read file: open key.enc: no such file or directory while running for AWS KMS #13

Closed pavanreddy07385 closed 2 years ago

pavanreddy07385 commented 2 years ago

can u pls help us resolve this issue?

./vault-recovery-key -enc-key key.enc -env awskms -shamir-shares 5 -shamir-threshold 3 INFO[0000] Starting version 0.2
INFO[0000] Starting with environment awskms
FATA[0000] Couldnt read file: open key.enc: no such file or directory

where do we get this key.enc from?

jdfriedma commented 2 years ago

@pavanreddy07385 you generate that key by running the operations in this section against the relevant storage entries. Give that a shot and see if that works for you.