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

Respect 'profile' name when botocore is used to fetch credentials #218

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

assimd
Copy link

@assimd assimd commented Feb 26, 2025

When awscurl is invoked with a profile name, and that profile is configured to use credential_process, awscurl was ignoring the profile name.

This change sets the profile name for the session in the same way the AWS CLI does.

When `awscurl` is invoked with a profile name, and that profile
is configured to use `credential_process`, `awscurl` was ignoring
the profile name.

This change sets the profile name for the session in the same way the
[AWS CLI does](https://github.com/aws/aws-cli/blob/436f74b4b85a6d16621deffff64877b9a865c1e9/awscli/clidriver.py#L285C26-L285C45).
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

Successfully merging this pull request may close these issues.

1 participant