This website uses cookies to ensure you get the best experience.
Learn more.
A CodeBuild project needs an API credential during its build. The credential must not appear in the buildspec or ordinary logs. Which approach is appropriate?
Published
- Disable all build logs and keep the secret in source indefinitely.
- Use supported Secrets Manager or Parameter Store references with appropriate build-role access and avoid echoing the value.
- Put the credential in the public build badge text.
- Commit the credential as a plaintext buildspec variable.
Comments — 0
Sign in to comment