UpdateTrustDomainRegistration
PATCH/admin/v1/customers/:customer_id/trust-domain-registrations/:id
UpdateTrustDomainRegistration replaces the data planes of a registration. The trust domain and the name never change. The rules of CreateTrustDomainRegistration apply. While an application holds a SPIFFE ID of the registration, a change is refused with FAILED_PRECONDITION unless the request sets confirm_identifier_move. A change that would serve such a SPIFFE ID on a new data plane where a retired application held the same SPIFFE ID is refused with FAILED_PRECONDITION, also with confirm_identifier_move. It goes through only when confirm_retired_identifier_reuse names each such SPIFFE ID. It writes one UPDATE_TRUST_DOMAIN_REGISTRATION audit row with the data planes before and after, the number of live identifiers, and each retired SPIFFE ID that the change brings back.
Request
Responses
- 200
Success