VariableSpec

VariableSpec
VariableSpec

A Variable is used to store re-usable/sensitive strings within Code Stream in an encrypted format so as to be able to consume in other areas like Endpoint, Pipeline, Task or Stage etc.

JSON Example
{
    "description": "string",
    "name": "My-Name",
    "project": "My-Project",
    "type": "REGULAR",
    "value": "my-value"
}
string
description
Required

A human-friendly description.

string
name
Required

A human-friendly name used as an identifier in APIs that support this option

string
project
Optional

The project this entity belongs to.

string
type
Required

The type of this Variable. Ex: REGULAR / SECRET / RESTRICTED

string
value
Required

The value for this Variable.