Skip to main content

CredentialMutation

Revision-fenced write-only action; does not grant spending or erase cleanup history.

operationOperation (string)required

Replace a value or retire its future use.

Possible values: [replace, retire]

operationIdOperationid (string)required

Durable operation identity retained across an unconfirmed response.

Possible values: Value must match regular expression ^[a-f0-9]{32}$

credentialIdCredentialid (string)required

One plugin-declared credential reference.

Possible values: Value must match regular expression ^[a-z0-9][a-z0-9_-]{0,127}$

expectedRevisionExpectedrevision (integer)required

Observed credential revision.

Possible values: >= 0

expectedSchemaDigestExpectedschemadigest (string)required

Observed credential declaration digest.

Possible values: Value must match regular expression ^[a-f0-9]{64}$

value object

Write-only UTF-8 credential, required only for replacement.

anyOf
string<password>
CredentialMutation
{
"operation": "replace",
"operationId": "string",
"credentialId": "string",
"expectedRevision": 0,
"expectedSchemaDigest": "string"
}