KMS Encryption

Encrypt data with KMS key

post/api/v1/kms/keys/{keyId}/encrypt

Request

  • Base URL
    https://us.infisical.com
  • URL
    https://us.infisical.com/api/v1/kms/keys/{keyId}/encrypt
  • Auth
    none declared

Path parameters

keyIdstring uuid required

The ID of the key to encrypt the data with.

Request body

plaintextstring required

The plaintext to be encrypted (base64 encoded).

Response

Default Response

ciphertextstring required

Changes

No recorded changes to this operation across all 66 revisions of this API.