Skip to content
GitmoapAPIBeta
Schema

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_from names it.
  • plainarray of ResolvedPlainVariableoptionalThe environment's non-secret variables, in name order, with their values.
  • 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

Used by

Sent by 0 operations

No operation takes it as a request body.

Returned by 0 operations

No operation returns it directly.