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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ