-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Profile based credentials don't work with credential_process #3008
Comments
Limitation of the AWS SDK for JavaScript we're using. Nothing to do for us here, you should file a feature request with them: https://github.com/aws/aws-sdk-js Duplicate: #1656 |
@rix0rrr is that the case? I am seeing some PRs that implement credentials_process: aws/aws-sdk-js#2559 |
@rix0rrr could you please reopen this ticket? The aws-sdk-js DOES support process credentials now. |
aws-cdk/packages/aws-cdk/lib/api/aws-auth/awscli-compatible.ts Lines 42 to 45 in 986e281
I can hack my way to making this work by adding a line here, though there may be other consequences... const sources = [
() => new AWS.EnvironmentCredentials('AWS'),
() => new AWS.EnvironmentCredentials('AMAZON'),
() => new AWS.ProcessCredentials({ profile }),
]; |
Please reopen! |
marking as |
[not a contribution] Hey is there any update on this issue? |
JS SDK now supports process_credentials now. Please check out my demo here: pahud/gitpod-workspace#1 (comment) However, AWS CDK does not support it. Can we add support for it given JS SDK supports it now? |
I believe we probably need update
or
And determine if |
This adds support for the credentials_process feature. Using the aws-sso-credential-process utility you can also use AWS SSO with this feature This should fix #3008 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
I'm submitting a ...
What is the current behavior?
If the current behavior is a πͺ²bugπͺ²: Please provide the steps to reproduce
When using
--profile
(see also #3007), the CLI doesn't respectcredential_process
. The profile has to have hardcoded credentials.credentials_process
is respected and invoked the same way other AWS CLI tools do.Parity with AWS CLI.
Please tell us about your environment:
The text was updated successfully, but these errors were encountered: