Creating a role based provisioning credential for AWS To set up a role-based cloud credential on AWS, follow these steps: Create a cross-account IAM roleIn order to use role-based authentication, you must create an IAM role on AWS.Create a role-based credentialCreate a role-based credential referencing the IAM role created earlier. This can be done from the CDP web interface or CDP CLI. IAM policy definitionWhen creating an IAM policy for role-based credential, use the following IAM policy definition.