Skip to main content

InstanceSecretField

Definition of a secret expected by an instance's bundle, and whether a value has been set.

Bundles declare the secrets they consume in their app.secrets manifest. Each field describes one expected secret. Secret values themselves are never returned by the API.

type InstanceSecretField {
name: String!
required: Boolean!
title: String
description: String
isSet: Boolean!
sha256: String @deprecated
}

Fields​

InstanceSecretField.name ● String! non-null scalar {#name}​

The secret's key name (typically an environment variable name like DATABASE_PASSWORD). Use this name when calling setInstanceSecret.

InstanceSecretField.required ● Boolean! non-null scalar {#required}​

Whether this secret must be set before the instance can be deployed.

InstanceSecretField.title ● String scalar {#title}​

Human-readable display name shown in the UI.

InstanceSecretField.description ● String scalar {#description}​

Explanation of what this secret is used for.

InstanceSecretField.isSet ● Boolean! non-null scalar {#is-set}​

Whether a value has been set for this secret.

Show deprecated

Member Of​

Instance object