otc-auth login iam --os-username IAM_USER --os-password "IAM_USER_PASSWORD"
which seemed to work without a error (wrong credentials result in unauthorized error).
Then i'm trying to generate a temp-access-token to use within our terraform project.
I run
otc-auth temp-access-token create
and it creates a ak-sk-env.sh file with content, seemingly the command did work.
I proceed to source the new file and run a terraform plan but the error says that the newly created access key doesn't exist.
Error: failed to authenticate:
│ error generating project client: Authentication Failed, error message: {"error_msg":"Incorrect IAM authentication information: ak SOMEACCESSKEYID not exist","error_code":"APIGW.0301","request_id":"somerequestid"}
Since these temp keys doesn't exist within the otc console i can't check if they actually exist. Is there another way via an API i could check if those keys actually are getting created?
I did
which seemed to work without a error (wrong credentials result in unauthorized error).
Then i'm trying to generate a temp-access-token to use within our terraform project. I run
and it creates a
ak-sk-env.sh
file with content, seemingly the command did work. I proceed to source the new file and run aterraform plan
but the error says that the newly created access key doesn't exist.Since these temp keys doesn't exist within the otc console i can't check if they actually exist. Is there another way via an API i could check if those keys actually are getting created?