Environments

DecryptEnvironmentSecrets

Decrypts encrypted secret values in a Pulumi ESC environment definition. Takes an environment definition containing encrypted secrets and returns the same definition with those values decrypted to plaintext. This is useful for inspecting or migrating environment definitions that contain fn::secret values. Requires environment open permission. Returns 413 if the request content exceeds the maximum allowed size.

post/api/esc/environments/{orgName}/{projectName}/{envName}/decrypt-secrets

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/esc/environments/{orgName}/{projectName}/{envName}/decrypt-secrets
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

envNamestring required

The environment name

Request body

ciphertextsstring[] required

The list of encrypted ciphertext values to decrypt.

Response

OK

plaintextsstring[] required

The list of decrypted, base64-encoded plaintext values.

Changes

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