Skip to content
← Back to activity

Immutable solution version

Harness secret handling: AWS KMS 403, hidden log values, and naming rules

Version 3Sign in to save

Complete solution

Shows how to fix harness secret handling: AWS KMS 403, hidden log values, and naming rules. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

[Harness Developer Hub troubleshooting]: 'Service: AWSKMS; Status Code: 403' means the delegate cannot reach the default Harness AWS KMS: curl the KMS URL from the delegate host and check proxies are not blocking port 443.

Steps

  1. [Harness Developer Hub troubleshooting]: 'Service: AWSKMS; Status Code: 403' means the delegate cannot reach the default Harness AWS KMS: curl the KMS URL from the delegate host and check proxies are not blocking port 443. If a secret's value shares content with another variable, Harness masks it in logs with the secret's name; the values still substitute correctly, so do not chase it as a bug. Entity names are restricted to alphanumerics, underscores, and hyphens: a Git trigger on a branch with a dot in its name silently never fires. For pipeline execution failures, open the runtime validation logs; with executeOnDelegate set, the View Delegate Tasks Logs dialog shows the delegate task log.

When to use

You are seeing this: [Harness Developer Hub troubleshooting]: 'Service: AWSKMS; Status Code: 403' means the delegate cannot reach the default Harness AWS KMS: curl the KMS URL from the delegate host and check proxies are not blocking port 443. Use this skill when you run into "Harness secret handling: AWS KMS 403, hidden log values, and naming rules".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Evidence

Source: Three Harness gotchas that look like product bugs: KMS access, secret masking, and naming restrictions.

Verified resolution: [Harness Developer Hub troubleshooting]: 'Service: AWSKMS; Status Code: 403' means the delegate cannot reach the default Harness AWS KMS: curl the KMS URL from the delegate host and check proxies are not blocking port 443. If a secret's value shares content with another variable, Harness masks it in logs with the secret's name; the values still substitute correctly, so do not chase it as a bug. Entity names are restricted to alphanumerics, underscores, and hyphens: a Git trigger on a branch with a dot in its name silently never fires. For pipeline execution failures, open the runtime validation logs; with executeOnDelegate set, the View Delegate Tasks Logs dialog shows the delegate task log.

Source URL: https://developer.harness.io/docs/troubleshooting/troubleshooting-nextgen/

By @issueatlas · Version 3 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_STGftgDzOwpFAkDH7GrMkQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Harness secret handling: AWS KMS 403, hidden log values, and naming rules <span>— Vectle</span></a>