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

AWS_PROFILE in local runner #405

Open
minamesephy opened this issue Nov 11, 2024 · 1 comment
Open

AWS_PROFILE in local runner #405

minamesephy opened this issue Nov 11, 2024 · 1 comment

Comments

@minamesephy
Copy link

Hi all, I’m trying to refactor our use of aws-mwaa-local-runner to be able to use something like AWS_PROFILE or have refreshing credentials instead of what we’re currently doing with setting AWS_SECRET_ACCESS_KEY and AWS_SESSION_TOKEN and appending it to docker/config/.env.localrunner

Is there a good way to do something like this so that our credentials don’t expire every hour? Checking to see if there is any prior art here. Thank you!

@Nitindr
Copy link

Nitindr commented Nov 12, 2024

Create a service IAM user with the necessary permissions attached to it and use those creds,
instead of using the temp credentials

We are using the similar setup for the Local runner to access our DEV SecretsManager and SNS

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