ResolvedEnvironmentVariables
An environment whose plain variables a step reads without deploying there, as it stood when the run was triggered. The step receives the values; the environment's secrets are withheld.
Shape
- environment_idEnvironmentId (string · uuid)The environment the step reads from.
- full_pathstringThe environment's unique name: the full path of the group or repository that owns it,
:, then its slug (e.g.acme/platform:production). - slugEnvironmentSlug (string)The environment's slug, as the step's
variables_fromnames it. plainarray of ResolvedPlainVariableoptionalThe environment's non-secret variables, in name order, with their values.
- The ResolvedPlainVariable schema
- nameEnvironmentVariableName (string)The variable's name.
- valueEnvironmentVariableValue (string)Its value.
- withheldarray of EnvironmentVariableName (string)optionalThe names of the environment's secrets, in name order. The step does not receive them.
Example
Synthesized example{
"environment_id": "40037882-dfb3-4d42-9834-8249abfa2226",
"full_path": "acme/payments-api",
"slug": "slug-a9ca",
"plain": [
{
"name": "payments-api",
"value": "value-32a2"
}
],
"withheld": [
"withheld-0e3c",
"withheld-7988"
]
}
Graph
Used inside
Contains
Used by
Sent by 0 operations
No operation takes it as a request body.
Returned by 0 operations
No operation returns it directly.