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

[ISSUE] Cannot generate master key in KMS AWS #721

Open
cakriwut opened this issue Dec 22, 2024 · 1 comment
Open

[ISSUE] Cannot generate master key in KMS AWS #721

cakriwut opened this issue Dec 22, 2024 · 1 comment
Assignees
Labels

Comments

@cakriwut
Copy link

Describe the bug
I am trying to generate master key using AWS KMS

To Reproduce
I run following command where creds.json contains the {"access_key_id":"HIDDEN","secret_access_key":"HIDDEN","region":"use-east-1"}

docker run --rm  -v ./test:/keys cossacklabs/acra-keymaker  --keystore=v2 --kms_type=aws --kms_key_policy=create  --generate_master_key=acra_master_key --kms_credentials_path=/keys/creds.json 

Expected behavior
Master key should be generated in AWS KMS

@Lagovas
Copy link
Collaborator

Lagovas commented Dec 23, 2024

Hi. Will be great if you provide output of the command.
And please try next command:

docker run --rm  -v ./test:/keys cossacklabs/acra-keymaker  --keystore=v2 --kms_type=aws --kms_key_policy=create  --generate_master_key --kms_credentials_path=/keys/creds.json --keystore_encryption_type=kms_encrypted_master_key

I added --keystore_encryption_type=kms_encrypted_master_key and removed value from generate_master_key option because it is a flag

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants