Skip to content
Developer Preview

ApprovalCuaMask

A secret’s mask: a vendor token’s prefix and last 4 characters (ghp_…3f9a), a named value’s name and length (password=… (12 chars)), or the length alone; all absent names the kind only.

  • chars
  • last4
  • prefix
Source

schema/msp/experimental/msp.schema.json#/types/ApprovalCuaMask

{
"description": "A secret's mask: a vendor token's prefix and last 4 characters\n(`ghp_…3f9a`), a named value's name and length (`password=… (12 chars)`),\nor the length alone; all absent names the kind only.",
"properties": {
"chars": {
"description": "The secret's length in characters.",
"type": "integer"
},
"last4": {
"description": "A vendor token's last 4 characters.",
"type": "string"
},
"prefix": {
"description": "A vendor token's fixed prefix (`ghp_`), or a named value's name and\nits `=` (`password=`).",
"type": "string"
}
},
"type": "object"
}