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

Fetch tessera secrets from AWS KMS using IAM roles #1505

Open
techiegk opened this issue Dec 6, 2022 · 2 comments
Open

Fetch tessera secrets from AWS KMS using IAM roles #1505

techiegk opened this issue Dec 6, 2022 · 2 comments

Comments

@techiegk
Copy link

techiegk commented Dec 6, 2022

To enable tessera to use AWS Secrets Manager, we need to configure 3 environment variables namely - AWS_REGION, AWS_SECRET_ACCESS_KEY& AWS_ACCESS_KEY_ID. But if an organisation has restricted to get only AWS_REGION & AWS_ACCESS_KEY_ID from AWS environment. Instead of AWS_SECRET_ACCESS_KEY, we have IAM role. Hope this would be best practice too for security reasons.
Now, the question is how to use IAM role instead of AWS_SECRET_ACCESS_KEY to enable tessera to use AWS Secrets Manager?

https://docs.tessera.consensys.net/en/stable/HowTo/Configure/KeyVault/AWS-Secrets-Manager/

@macfarla
Copy link
Contributor

macfarla commented Dec 7, 2022

@Krish1979 do you have ideas on this one?

@macfarla
Copy link
Contributor

macfarla commented Dec 8, 2022

Suggestion from devops - @techiegk are you able to see if the below suggestion works for you?

It is possible that if the environment variables are not configured and instance role attached to the EC2 instance has correct permissions, AWS api library will do the work to make use of the instance role.
Someone would need to test this and confirm to be sure. Update in documentation would also be nice I believe.

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

No branches or pull requests

2 participants