Create a role-based credential

Create a role-based credential referencing the IAM role created earlier. This shows you how to do this from the Management Console web UI, but this can also be done from the CDP CLI.

These steps assume that you have an IAM Role ARN. You can obtain the IAM Role ARN from the IAM console > Roles on AWS by selecting a role and clicking on your IAM role to navigate to its summary and then copying the Role ARN:

  1. Log in to the CDP web interface.
  2. In the Management Console, navigate to Environments > Shared Resources > Credentials:
  3. Click Create Credential.
  4. Select to access credential options for Amazon Web Services.
  5. Provide the following information:
    Parameter Description
    Select Credential Type Select Role Based (default value).
    Name Enter a name for your credential.
    Description (Optional) Enter a description.
    IAM Role ARN Paste the IAM Role ARN corresponding to the “CredentialRole” that you created earlier. For example arn:aws:iam::315627065446:role/CredentialRole is a valid IAM Role ARN.
  6. Click Create.
  7. Your credential should now be displayed in the Credentials pane.

Now that you have created the credential, you can use it to register your AWS environment.