PRO_Unable to create ssm put parameter with multiple tag values getting error- The security token included in the request is invalid. #6841
-
Unable to create ssm put parameter with multiple tag values, getting error - "PutParameter operation: The security token included in the request is invalid." |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments
-
Hi @ashameem123, Sorry to hear you're having trouble. This error is common with issues with the credentials you are supplying. Are you sure the credentials you're supplying are correct? You can confirm where you are getting credentials from by using Can you successfully run a different command, like If you are still having an issue, we would need to see debug logs, which you can get by adding |
Beta Was this translation helpful? Give feedback.
-
Hi,
This is what I'm getting in response to the command you sent above:
[image: image.png]
…On Tue, Mar 29, 2022 at 5:35 PM Kenneth Daily ***@***.***> wrote:
Hi @ashameem123 <https://github.com/ashameem123>,
Sorry to hear you're having trouble. This error is common with issues with
the credentials you are supplying. Are you sure the credentials you're
supplying are correct? You can confirm where you are getting credentials
from by using aws configure list.
Can you successfully run a different command, like aws sts
get-caller-identity?
If you are still having an issue, we would need to see debug logs, which
you can get by adding --debug to your command. Please copy/paste the
contents as a reply to this issue, and be sure to remove any sensitive
information, like account numbers, from the output. Thanks!
—
Reply to this email directly, view it on GitHub
<#6823 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AM5MORJZJBHCESWKHCRMIMLVCOAUJANCNFSM5R3Y6N2A>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
@kdaily - I was able to successfully create ssm parameters with multiple tags but keep getting exception:(Please have a look into this ticket) - localstack/localstack#5768 Exception: null (Service: Ssm, Status Code: 404, Request ID: null, Extended Request ID: null): corp.aws.exception.NonRetryableException\ncorp.aws.exception.corpNonRetryableException: Error retrieving parmeter comp-template-attributes from parameter store. We can close #6823 as I'm able to create parameters first by creating parameter with value and then adding tags to it. (2 separate steps) |
Beta Was this translation helpful? Give feedback.
-
@kdaily - Just for better understanding, What do you mean by "invalid credentials" here? I have a default credentials set in my .aws credentials file (aws_access_key_id = foo, aws_secret_access_key = bar)Shouldn't that be enough for running ssm in localstack? |
Beta Was this translation helpful? Give feedback.
-
Hi @ashameem123, Thanks for letting me know. We're not able to provide support for third party implementations. I'm not familiar enough with Localstack to know how credentials work there. You'll have to follow up with the maintainers there for more assistance. Thanks! |
Beta Was this translation helpful? Give feedback.
Hi @ashameem123,
Sorry to hear you're having trouble. This error is common with issues with the credentials you are supplying. Are you sure the credentials you're supplying are correct? You can confirm where you are getting credentials from by using
aws configure list
.Can you successfully run a different command, like
aws sts get-caller-identity
?If you are still having an issue, we would need to see debug logs, which you can get by adding
--debug
to your command. Please copy/paste the contents as a reply to this issue, and be sure to remove any sensitive information, like account numbers, from the output. Thanks!