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

Remove profile prefix when saving the aws config #43

Closed
tushar-nallan opened this issue Feb 19, 2021 · 1 comment
Closed

Remove profile prefix when saving the aws config #43

tushar-nallan opened this issue Feb 19, 2021 · 1 comment

Comments

@tushar-nallan
Copy link

I see that the profile is saved as. [profile sts] instead of just [sts].

This causes the following error to be thrown during compilation -

Your profile name includes a 'profile ' prefix. This is considered part of the profile name in the Java SDK, so you will need to include this prefix in your profile name when you reference this profile from your Java code.

If I remove the profile prefix manually, this error is gone. Is this something we can fix here or the issue should go someplace else?

aws issue link: aws/aws-sdk-java#1707

Thanks!

@ruimarinho
Copy link
Owner

Hi @tushar-nallan,

gsts stores just the key, not profile [key]. See https://github.com/ruimarinho/gsts/blob/master/credentials-manager.js#L209-L214, so I believe what you're seeing comes from some other software.

Cheers,

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

No branches or pull requests

2 participants