# VaultEncryptionKeyDto

A model the API reference uses in a request or a response. The operation pages link every field typed as this model here.

A named encryption key as read back over the API.

## Fields
- `id` (string(uuid))
- `creationTime` (string(date-time)): The date and time when this entity was created.
- `creatorId` (string(uuid)): The ID of the user who created this entity. (nullable)
- `lastModificationTime` (string(date-time)): The date and time when this entity was last modified. (nullable)
- `lastModifierId` (string(uuid)): The ID of the user who last modified this entity. (nullable)
- `isDeleted` (boolean): Indicates whether this entity has been deleted.
- `deleterId` (string(uuid)): The ID of the user who deleted this entity, if it is deleted. (nullable)
- `deletionTime` (string(date-time)): The date and time when this entity was deleted, if it is deleted. (nullable)
- `name` (string): The name route editors pick the key by. (nullable)
- `gateway` (string): The gateway that publishes the key. (nullable)
- `publicKey` (string): The gateway's RSA public key, written in `keyFormat`. Not a secret. (nullable)
- `keyFormat` ([VaultEncryptionKeyFormat](https://docs.winkpg.io/docs/api/models/VaultEncryptionKeyFormat.md)): How `publicKey` is written: `RawModulusExponent` or `Pem`.
  Values:
  - `Unknown`: Not set. Never valid on a filter that encrypts.
  - `RawModulusExponent`: The modulus followed by the public exponent, as one base64 value. The first modulus-length bytes are the modulus, and the rest is the exponent.
  - `Pem`: A PEM public key (BEGIN PUBLIC KEY or BEGIN RSA PUBLIC KEY), or the base64 of a DER SubjectPublicKeyInfo.
- `modulusLength` (integer(int32)): For a `RawModulusExponent` key, how many leading bytes are the modulus; empty for a `Pem` key. (nullable)
- `keySizeBits` (integer(int32)): The key's size in bits.
- `fingerprint` (string): The pinned fingerprint: SHA-256 of the key's SubjectPublicKeyInfo bytes, in lowercase hex. Every route that names the key shows this value. (nullable)
- `keyReplacedAtUtc` (string(date-time)): UTC moment the key was last replaced, or `null` when it never has been. (nullable)
- `concurrencyStamp` (string): (nullable)

## See also

- [All documentation](https://docs.winkpg.io/llms.txt): the machine-readable index of every public page on this site.
