Skip to main content

AlphaSetStashEntryInput

Alpha: this API can change or be removed at any time, without notice.

Set the value of a key in a stash. Setting a key that has a value replaces the value and every other setting of the entry.

input AlphaSetStashEntryInput {
format: AlphaStashFormat
immutable: Boolean
label: String
sensitive: Boolean
ttl: Int
value: String!
}

Fields​

AlphaSetStashEntryInput.format ● AlphaStashFormat enum {#format}​

TEXT stores any string. JSON requires a JSON object, and the entry's data field returns it parsed. Defaults to TEXT.

AlphaSetStashEntryInput.immutable ● Boolean scalar {#immutable}​

When true, the key cannot be set again until the entry expires or is deleted. Setting an immutable entry fails if the key already has a value.

AlphaSetStashEntryInput.label ● String scalar {#label}​

A human-readable name for the entry, shown in the Massdriver UI. Up to 255 characters. An empty label is the same as no label. The label is not encrypted and is shown even when the entry is sensitive, so do not put secrets in it.

AlphaSetStashEntryInput.sensitive ● Boolean scalar {#sensitive}​

When true, the value is encrypted and is returned only to callers who can change the stash.

AlphaSetStashEntryInput.ttl ● Int scalar {#ttl}​

Seconds until the entry expires. An expired entry is not returned and is deleted soon after. At most 315360000 (10 years). Leave empty to keep the entry until you delete it.

AlphaSetStashEntryInput.value ● String! non-null scalar {#value}​

The value to store. Massdriver returns it exactly as written. The size limit is 65536 bytes unless your installation sets another.

Member Of​

alphaSetStashEntry mutation