Create or update tenant identity (JWT-SVID) configuration for the org/site.
User must have authorization role with TENANT_ADMIN suffix in the URL {org}.
On first call the Core gRPC API generates a new ES256 signing
keypair; on subsequent calls the existing keypair is reused unless
rotateKey: true is supplied. Returns 201 Created on first
call, 200 OK on subsequent updates. See the Tenant Identity tag
description for upsert semantics and the enabled vs DELETE
distinction.
Standard create-or-update of the tenant identity config. Use
this shape when not rotating the signing key.
signingKeyOverlapSeconds is not used here — it is only
meaningful together with rotateKey: true and is rejected by
the REST API in that combination. Switch to the “With key
rotation” variant when you need to set it.
Create-or-update of the tenant identity config that also
forces a signing-key rotation. Both rotateKey: true and
signingKeyOverlapSeconds are required.
Tenant identity configuration replaced/updated
Stored allowlist of audience strings. Always non-empty: when a
PUT supplied an empty list, the Core gRPC API substituted
[defaultAudience] before persisting. Issuance rejects audiences
outside this list.
SPIFFE ID prefix used in the JWT sub claim. When the PUT body
omitted subjectPrefix, Core stored
spiffe://<trust-domain-from-issuer> here, so the value
returned by GET may differ from what was submitted.
Per-org signing keys currently published in JWKS. Exactly
one entry has currentSigner: true. During a rotation
overlap window a second entry is present with
currentSigner: false and a populated expireAt; once
the overlap window elapses the Core gRPC API deletes the
expired entry and only the current signer remains.