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

validate key and secrets #228

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

validate key and secrets #228

wants to merge 1 commit into from

Conversation

Aha2021
Copy link

@Aha2021 Aha2021 commented Feb 23, 2023

Issue #, if available:

"Error executing "GetSecretValue" on "https://secretsmanager.ap-southeast-2.amazonaws.com"; AWS HTTP error: Client error: POST https://secretsmanager.ap-southeast-2.amazonaws.com resulted in a 400 Bad Request response:
{"__type":"UnrecognizedClientException","message":"The security token included in the request is invalid."}
UnrecognizedClientException (client): The security token included in the request is invalid. - {"__type":"UnrecognizedClientException","message":"The security token included in the request is invalid."}"

Description of changes:
Empty credential key and secret in the configuration file aws.php will stop aws sdk from looking for the correct credentials. Aws sdk will use the empty value for the call GetSecretValue of SecretsManager which results in the above exception.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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.

None yet

1 participant