-
Notifications
You must be signed in to change notification settings - Fork 335
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
Credentials profile is invalid while trying to Connect to AWS #720
Comments
Hi @hilalhmuhammed thank you for reaching out. Can you please try setting the keys in your
|
@awschristou Trying this toolkit for the first time and am having the same error. Both my config
credentials
|
@awschristou Figures ... seconds after posting, VS Code updated to |
Thank you for the confirmation @jmery
I will close this issue, as the work will be tracked in these separate issues. |
For what it's worth, I've just had the same error as the OP
AWS Toolkit 1.15.0 What solved the problem for me was to change the profile entries in ~/.aws/config from |
I'm getting the following error which seems to be covered by this thread, but I can't see anything wrong with my aws config or credentials and aws cli is working fine.
[default]
region = us-east-1
output = json
ca_bundle = /Users/cn174265/ZscalerRootCerts/ZscalerRootCertificate-2048-SHA256.crt
[default]
AWS_ACCESS_KEY_ID=<key>
AWS_SECRET_ACCESS_KEY=<secret>
AWS_SESSION_TOKEN=<session> |
Try lowercase key names (though this should have been fixed by #2396 ) : [default]
aws_access_key_id=<key>
aws_secret_access_key=<secret>
aws_session_token=<session> |
Thanks, I think that did it. I just have to make sure my cli still works.
…On Wed, Apr 13, 2022, 6:08 PM Justin M. Keyes ***@***.***> wrote:
- .aws/credentials
[default]AWS_ACCESS_KEY_ID=<key>AWS_SECRET_ACCESS_KEY=<secret>AWS_SESSION_TOKEN=<session>
Try lowercase key names (though this should have been fixed by #2396
<#2396> ) :
[default]aws_access_key_id=<key>aws_secret_access_key=<secret>aws_session_token=<session>
—
Reply to this email directly, view it on GitHub
<#720 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAPYBHSDXMIER5HU4DI5FBTVE5HX3ANCNFSM4IJBT2AQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Had the same issue removing spaces made it work! |
@INValentin I can't reproduce this issue, I tried:
and was able to connect using the What version of AWS Toolkit for VSCode are you using? Does the issue occur with AWS Toolkit if you add spaces again? Note that
|
Describe the bug
Installed AWS toolkit for VS Code, I have my config and credentials file with the following key and their values
config
credentials
Clicking on Connect to AWS using default profile will pop an error dialogue that says Credential profile default is invalid
To Reproduce
Expected behavior
Connection successful to AWS
Screenshots
Desktop (please complete the following information):
Additional context
Have tried using a named profile instead of default, the error persist
The text was updated successfully, but these errors were encountered: