Change environment's credential

You can change the credential attached to an environment as long as the new credential provides the required level of access to the same AWS account as the old credential.

Steps - CDP web interface

  1. There are two ways to change a credential for an existing environment from CDP web UI:
    • From the Environments page, select an environment, and click Change Credential:

    • From the Environments page, navigate to environment details, and then select Actions > Change Credential:

  2. Select the credential that you would like to use.
  3. Click Change Credential to confirm.
  4. Credential is changed for the environment.

Steps - CDP CLI

If you would like to delete a credential from the CDP CLI, use:
cdp environments change-environment-credential --environment-name <value> --credential-name <value>