IAM Identity Center - AWS access type 'Programmatic Access with access key'?

0

Hello everybody!

I am a newcomer and I need to create a new user with AWS access type 'Programmatic access - with an access key'.

I was able to create a user with 'administrator access' , create a group but was unable to attach a 'Programmatic access with an access key' to this user.

Any feedback will be very welcome.

Thanks for the attention.

Cordially, Alexandre

2 回答
1

Hi,

You just have to create a pair (access key, secret key) for your user.

Please, follow the following guidance to do it: https://docs.aws.amazon.com/cli/latest/userguide/cli-services-iam-create-creds.html

Best,

Didier

profile pictureAWS
专家
已回答 7 个月前
  • Hello Didier,

    Many thanks for your feedback.

    I was able to create a pair without any --user-name - but when I try the command: ' aws iam create-access-key --user-name myname', I get an error message that myname cannot be found but I do have myname as a a user.

    I do not understand the logic of the IAM Identity Center and this cripples my progress to overcome this issue

    Many thanks for your attention.

    Bien cordialement, Alexandre

0
已接受的回答

Hello,

You can assign Programmatic Access to newly created IAM User:

Steps:

  1. Go to IAM Console.
  2. Select IAM User to which you want to assign programmatic access.
  3. Select Security Credentials and Create Access Key.
  4. Select the Use Case.
  5. Retrieve the Access Key and Secret Access Key (Download CSV File)

Note: Please make sure to download the secret otherwise it will be lost and you have to recreate secret. "If you lose your secret access key, you must delete the access key and create a new one. For more details, see Resetting lost or forgotten passwords or access keys for AWS. You can have a maximum of two access keys per user."

Reference Document: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_access-keys.html

AWS
已回答 7 个月前
profile picture
专家
已审核 7 个月前
profile picture
专家
已审核 7 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则