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


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 Answers


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



profile pictureAWS
answered 9 months ago
  • 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

Accepted Answer


You can assign Programmatic Access to newly created IAM User:


  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

answered 9 months ago
profile picture
reviewed 9 months ago
profile picture
reviewed 9 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions