BrokerOAuth2ClientStartSecretRotationMedia
Media for OAuth 2.0 client start secret rotation action.
{
"_links": {
"self": {
"href": "https://example.com/path-to-self"
}
},
"primary_secret_auto_retire_duration": 2880,
"secondary_secret": "MySecret@#$"
}
The resource HATEOAS links. Usually includes a "self" link for this resource
Indicates how long in minutes until primary secret will retire automatically. Default value if not specified is 1 day. Maximum value is 7 days. The field is optional when starting a secret rotation and it is ignored when ending a rotation. Notice there is a potential delay up to 1 hour for this auto retire to take effect. For example, if you set auto retire after 10 minutes, it's possible that the primary secret will actually be retired up to 10 minutes plus 1 hour
An alternative secret to the client primary secret that will replace the existing primary secret when the secret rotation ends. The field is mandatory when starting a secret rotation and it is ignored when ending a rotation.