โ† API reference
Mutation / admin

iacSetStackSecret

Write a new version of a stack secret; earlier versions are kept. Plans made before it need re-planning. Requires stack administration.

Arguments

stackIdIaCStackID!

Owning stack.

nameString!

Secret name: a letter or underscore, then letters, digits or underscores; at most 128 characters.

valueString!

Secret value, at most 64 KiB. Stored encrypted and never returned.

Returns IaCStackSecret!

Scalar fields at a glance

nameString!
versionInt!
stateString!
setAtString!
โ†— View the complete IaCStackSecret type

Explore in a view

Administration and IAM
View exact SDL
"""
Write a new version of a stack secret; earlier versions are kept. Plans made before it need re-planning. Requires stack administration.
"""
iacSetStackSecret(
  """Owning stack."""
  stackId: IaCStackID!
  """
  Secret name: a letter or underscore, then letters, digits or underscores; at most 128 characters.
  """
  name: String!
  """Secret value, at most 64 KiB. Stored encrypted and never returned."""
  value: String!
): IaCStackSecret! @topic(names: ["admin"])

Schema reference describes the API contract. Actual access is checked by the platform for every operation.