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

Add support for AWS profiles (deploy) #283

Open
landonreed opened this issue Aug 20, 2019 · 0 comments
Open

Add support for AWS profiles (deploy) #283

landonreed opened this issue Aug 20, 2019 · 0 comments
Assignees

Comments

@landonreed
Copy link
Contributor

landonreed commented Aug 20, 2019

When deploying to S3 buckets on various AWS accounts a mastarm user must update .aws/credentials so that the default credentials point to the correct AWS account. It would be great to just pass a --profile fdot arg to indicate to mastarm that it should use alternative credentials for S3 deployment rather than having to make this manual switch.

This docs page appears to provide info on how this might be done: https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html. It also notes that the env variable AWS_PROFILE can be used to set the profile that should be used.

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

No branches or pull requests

2 participants