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

ERROR: NoCredentialProviders: no valid providers in chain. Deprecated. #20

Open
lokasandeep opened this issue Dec 8, 2023 · 1 comment

Comments

@lokasandeep
Copy link

Hello i am using env-aws-params to read all parameters from system manager with a prefix.
This is working fine in Amazon Linux 2. but when i include the same in AML 2023, i could not read read the parameters and getting the error

ERROR: NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors

are there any changes needed for AML 2023 ?. trying to find what i need to pass to overcome this error, but could not find anything.

Here is my command

/usr/bin/env -i /usr/local/bin/env-aws-params --aws-region $EC2_REGION
--prefix $1
--pristine
--silent /usr/bin/printenv >> $environmentFile

@gmr
Copy link
Owner

gmr commented Jan 9, 2024

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