Stacks

EncryptValue

Encrypts a single plaintext value using the stack's encryption key. The request body contains the plaintext value to encrypt. The response contains the base64-encoded ciphertext. For encrypting multiple values in a single request, use the BatchEncryptValue endpoint instead. Returns 413 if the request body exceeds the maximum allowed content size.

post/api/stacks/{orgName}/{projectName}/{stackName}/encrypt

Request

  • Base URL: https://api.pulumi.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.pulumi.com/api/stacks/{orgName}/{projectName}/{stackName}/encrypt
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Request body

plaintextstring[] required

The value to encrypt.

Response

OK

ciphertextstring[] required

The encrypted value.

Changes

No recorded changes to this operation across all 1 revision of this API.