Rotate
Rotate re-mints the paired credential’s secret material, preserves the decoy_id binding, and returns the new one-time vending material.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
This API uses OAuth2 with the Client Credential flow. Client Credentials must be sent in the BODY, not the headers. For an example of how to implement this, refer to the c1TokenSource.Token() function.
Path Parameters
The id field.
Body
The DecoyServiceRotateRequest message.
Response
Successful response
The DecoyServiceRotateResponse message.
Decoy is the read projection of a planted honey-credential. All fields except annotations are server-managed.
DecoyVendingMaterial carries the freshly-vended secret material returned exactly once at Create or Rotate.
This message contains a oneof named material. Only a single field of the following list may be set at a time:
- clientCredential
- accessToken
- workloadFederation