Your secrets are write-onlySecret material — signing keys and private keys — is accepted on registration and never
returned by any endpoint. It is encrypted with a dedicated KMS key before it is stored;
the plaintext exists only in memory while a request is being signed. Reads echo only
non-secret material: the
x_login identifier, or the certificate’s fingerprint and expiry.Precedence: per-request headers always win
The per-request signing headers (yuno-proxy-auth + yuno-proxy-auth-secret-key) keep working exactly as before. On any
forward:
- If the request carries
yuno-proxy-auth*headers, those credentials are used. - Otherwise, if the destination has a persisted profile, the proxy uses it.
- Otherwise, the request is forwarded without authentication, as a plain allowlist entry.
DLOCAL_HMAC profile is applied, the proxy sets all four headers
(X-Login, X-Trans-Key, X-Date, Authorization) from the profile — values you send for
those headers on that request are replaced. An mTLS certificate is presented whenever the
destination has an MTLS profile, regardless of how the request is signed.
If the same hostname is registered both organization-wide and for a specific account, the
account-scoped destination — and its authentication — wins for requests carrying that
yuno-account-id.
Register a destination with authentication
Add anauthentication array to the destination registration —
at most one entry per type:
422 INVALID_AUTHENTICATION: an unknown type, a duplicated
type, a missing or empty required field, an unexpected field, a certificate or key that does
not parse, a key that does not match the certificate, or an expired certificate.
Rotate credentials
Rotation is a full replace of the destination’s authentication — send the complete new configuration; there is no partial patch:200 with the destination and its new authentication summary. The overwrite is
idempotent and takes effect immediately — the next forward already uses the new credentials.
Use certificate_expires_at on your reads to schedule certificate rotation before expiry.
Remove authentication
200. The destination keeps working as a plain allowlist entry; forwards to it are
simply no longer authenticated by the proxy. Deleting the destination itself also removes its
authentication.
Every authentication change is recorded in the destination audit trail as AUTH_SET or
AUTH_REMOVED.