CreateVaultEncryptionKeyDto
A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.
A request to create a named encryption key.
Values
Fields
| Field | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
name
required |
string | The name route editors pick the key by, up to 128 characters. A save is refused when another key has
it, ignoring case. A route names the key by its id, so the name is a label only.
nullablemax length 128
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||
gateway
required |
string | The gateway that publishes the key, such as Clover, up to 64 characters.
nullablemax length 64
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||
publicKey
required |
string | The gateway's RSA public key, 2048 to 8192 bits, written in `keyFormat`, exactly as the
gateway publishes it.
nullablemax length 4096
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||
keyFormat
required |
VaultEncryptionKeyFormat VaultEncryptionKeyFormat | How `publicKey` is written: `RawModulusExponent`, the base64 of the modulus followed by
the public exponent, or `Pem`, a PEM public key or the base64 of a DER SubjectPublicKeyInfo.
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||
modulusLength
required |
integer (int32) | For a `RawModulusExponent` key: how many leading bytes are the modulus, 256 to 1024. Defaults to
256, a 2048-bit key. Leave it empty for a `Pem` key.
nullable
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
| ||||||
expectedFingerprint
required |
string | The fingerprint you expect, from the gateway's published key: SHA-256 of the key's SubjectPublicKeyInfo
bytes, as 64 hex digits, with or without colons or spaces between the pairs. The save is refused unless
the key computes to this value. Required on a create, and on an update that changes the key.
nullablemax length 191
Values:
Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
|
This model has no documented fields.