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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南