AutomationMu Mutation

setIntegrationInstanceSecret

Topics: Integrations

Set one secret on an integration instance. Secrets are not settable through config — this is the only way in. Requires integrationInstance:write permission.

Returns

IntegrationInstancePayload!

Arguments

TypeID of the integration instance.

key

String!Required

Config key to set. Must be declared a secret by the definition's schema (x-input-type: password); see the instance's secrets.

value

String!Required

The secret. Stored encrypted and never returned by any query.

Exact field SDL
"""
Set one secret on an integration instance. Secrets are not settable through `config` — this is the only way in. Requires integrationInstance:write permission.
"""
setIntegrationInstanceSecret(
  """TypeID of the integration instance."""
  id: IntegrationInstanceID!
  """
  Config key to set. Must be declared a secret by the definition's schema (`x-input-type: password`); see the instance's `secrets`.
  """
  key: String!
  """The secret. Stored encrypted and never returned by any query."""
  value: String!
): IntegrationInstancePayload! @topic(names: ["integrations"])

Declared on Mutation. Access is checked by the platform for each operation.