Secrets Troubleshooting
Diagnose and resolve common issues with secrets in Harness 3.0; secret not found, external manager connection failures, stale cached values, and file decode errors.
Diagnose and resolve common issues with secrets in Harness 3.0. This guide covers the most frequently encountered problems, their root causes, and step-by-step resolution procedures.
Secret not found
Pipeline execution fails with an error indicating the referenced secret cannot be found.
# Common error message <a href="#common-error-message" id="common-error-message"></a>
Error: Secret with identifier [my_secret] not found in scope [project:myproject]Connection failed to external secret manager
Pipeline execution fails because Harness cannot connect to the external secret manager to retrieve the secret value.
Secret value not updating
You have updated a secret value but pipeline executions continue to use the old value.
File secret decode issues
File secrets are stored as base64-encoded content. Common issues arise when the decoded output is not handled correctly in pipeline steps.
Diagnostic steps
Follow this five-step process to systematically identify and resolve secret-related issues.
Last updated
Was this helpful?