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달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인