BrokerOAuth2ClientStartSecretRotationMedia

BrokerOAuth2ClientStartSecretRotationMedia
BrokerOAuth2ClientStartSecretRotationMedia

Media for OAuth 2.0 client start secret rotation action.

JSON Example
{
    "_links": {
        "self": {
            "href": "https://example.com/path-to-self"
        }
    },
    "primary_secret_auto_retire_duration": 2880,
    "secondary_secret": "MySecret@#$"
}
object
_links
Optional

The resource HATEOAS links. Usually includes a "self" link for this resource

integer As int32 As int32
primary_secret_auto_retire_duration
Optional

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

string
secondary_secret
Optional

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.