hi there! I'm trying to add the `AWS_CREDENTIALS` ...
# ask-community
c
hi there! I'm trying to add the
AWS_CREDENTIALS
secret to the Prefect Cloud UI but I"m unclear how exactly to format it, which one of these is it?
Copy code
{"ACCESS_KEY": "abcdef", "SECRET_ACCESS_KEY": "ghijklmn"}
or
'{"ACCESS_KEY": "abcdef", "SECRET_ACCESS_KEY": "ghijklmn"}'
Also, which "type" should I choose when entering the secret?
No matter what I try, I'm getting:
Copy code
botocore.exceptions.ClientError: An error occurred (UnrecognizedClientException) when calling the RegisterTaskDefinition operation: The security token included in the request is invalid.
k
Check the bottom here
c
so like this?
k
That second one looks right. Are you sure that error is credential related?
c
yes, it's the only thing we've changed
k
I mean syntax related. Did you add MFA?
c
no we didn't; we're just rotating secrets and having issues getting new creds to work. just wanted to confirm I was putting them in correctly. thanks
👍 1