MfaCredentialChangeDto

MfaCredentialChangeDto
MfaCredentialChangeDto

An SSH MFA credential a Publish would add, remove or rotate. Names and ids only, never a seed.

JSON Example
{
    "username": "string",
    "userId": 0,
    "change": "string"
}
string
username
Required  

Username of the user whose SSH MFA credential changes, from the MFA manifest (the live manifest for REMOVED)

integer As int64 As int64
userId
Required  

Identifier of the user whose SSH MFA credential changes

change
Required  

Change to an SSH MFA credential.

  • ADDED: The user has an SSH MFA credential in the staged state but none in the live revision
  • REMOVED: The live revision has the user's credential and the staged state does not
  • ROTATED: Both have the user's credential but with a different secret version
Enumeration: ADDED, REMOVED, ROTATED