Environments
EncryptEnvironmentSecrets
Encrypts plaintext secret values in a Pulumi ESC environment definition. Takes an environment definition containing plaintext secrets and returns the same definition with those values encrypted using the environment's encryption key. This is useful for preparing environment definitions that contain sensitive values before storing or updating them. Returns 413 if the request content exceeds the maximum allowed size.
post/api/esc/environments/{orgName}/{projectName}/{envName}/encrypt-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}/encrypt-secrets
- Auth: none declared
Path parameters
orgNamestring required
The organization name
projectNamestring required
The project name
envNamestring required
The environment name
Request body
Response
OK
Changes
No recorded changes to this operation across all 1 revision of this API.