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
- 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:
- Select the credential that you would like to use.
- Click Change Credential to confirm.
- Credential is changed for the environment.
Steps - CDP CLI
If you would like to delete a credential from the CDP CLI, use
change-environment-credential --environment-name <value> --credential-name