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 & language SDK compatibility? #31

Open
mahe-work opened this issue May 31, 2022 · 2 comments
Open

AWS_PROFILE & language SDK compatibility? #31

mahe-work opened this issue May 31, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@mahe-work
Copy link

Since profiles are configured to aws/.config and not in aws/.credentials, do scripts and language SDKs (go, java etc.) that rely on AWS_PROFILE environment variable work with this? throwing --profile foo to every single aws-cli and other tool command is tedious and prone to break in CI

@mahe-work mahe-work added the enhancement New feature or request label May 31, 2022
@mahe-work mahe-work changed the title AWS_PROFILE compatibility? AWS_PROFILE & language SDK compatibility? May 31, 2022
@aripalo
Copy link
Owner

aripalo commented Aug 12, 2022

Sorry for the late reply.

But AWS_PROFILE environment variable should work if the SDK itself supports it … and most AWS SDKs should support this. Features of specific SDKs can be found via https://docs.aws.amazon.com/sdkref/latest/guide/supported-sdks-tools.html

@aripalo
Copy link
Owner

aripalo commented Aug 12, 2022

Also see Vegas Credentials docs about AWS SDKs https://credentials.vegas/docs/examples#aws-sdks

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

No branches or pull requests

2 participants