Stacks
StackConfig

GetStackConfig

Retrieves the service-managed configuration for a stack. The response includes the ESC environment reference that points the stack at a service-backed configuration. If stack configuration is returned by the API, it is used in place of the local stack config file (e.g. Pulumi.[stack].yaml). Returns 404 if no service-managed configuration exists for the stack. The 'secretsProvider', 'encryptedKey', and 'encryptionSalt' fields are deprecated and should be ignored by new callers; they may carry legacy values from existing rows but no longer reflect any service behavior.

get/api/stacks/{orgName}/{projectName}/{stackName}/config

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}/config
  • Auth: none declared

Path parameters

orgNamestring required

The organization name

projectNamestring required

The project name

stackNamestring required

The stack name

Response

OK

encryptedKeystring

Deprecated: this field is no longer used by the service. Stacks that use a service-backed configuration store all config (including secrets) in ESC, which uses its own encryption. New callers should omit this field.

encryptionSaltstring

Deprecated: this field is no longer used by the service. Stacks that use a service-backed configuration store all config (including secrets) in ESC, which uses its own encryption. New callers should omit this field.

environmentstring required

Reference to ESC environment to use as stack configuration.

secretsProviderstring

Deprecated: this field is no longer used by the service. Stacks that use a service-backed configuration store all config (including secrets) in ESC, which uses its own encryption. New callers should omit this field.

Changes

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