Creating an AWS credential for audit event archiving using the CLI
To configure archiving, you must set up a credential for audit event archiving and then configure CDP.
Use the following commands to create a new audit credential:
cdp environments set-aws-audit-credential \ --role-arn arn:aws:...The role-arn information was provided when you created an IAM role.You can view audit credentials with this command:
cdp environments list-audit-credentials
- Make note of the credential name created by the command.