Skip to content

variable-library

Manage variable libraries (shared variables)

Authentication scope: fabric

List variable librarys in a workspace

Terminal window
fabio variable-library list --workspace <value>
Flag Type Required Description
--workspace string Yes Workspace ID

Read-only · Returns list

Show details of a variable library

Terminal window
fabio variable-library show --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Variable library ID

Read-only · Returns object

Create a new variable library

Terminal window
fabio variable-library create --workspace <value> --name <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--name string Yes Display name
--description string No Optional description
--sensitivity-label string No Sensitivity label ID to apply on creation

Mutates state · Returns object

Update variable library properties

Terminal window
fabio variable-library update --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Variable library ID
--name string No New display name
--description string No New description

Mutates state · Returns object

Delete a variable library

Terminal window
fabio variable-library delete --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Variable library ID
--hard-delete bool No Permanently delete (cannot be recovered)

Mutates state · Destructive · Returns void

Get the definition of a variable library

Terminal window
fabio variable-library get-definition --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Variable library ID
--decode bool No Decode base64 payloads inline (adds decodedPayload field)

Read-only · Long-running operation · Returns object

Update the definition of a variable library

Terminal window
fabio variable-library update-definition --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID
--id string Yes Variable library ID
--file string No Path to definition file
--content string No Inline definition content

Mutates state · Long-running operation · Returns void

List value sets defined in a variable library

Terminal window
fabio variable-library list-value-sets --workspace <value> --id <value>
Flag Type Required Description
--workspace string Yes Workspace ID or name
--id string Yes Variable library ID or name

Read-only · Returns list

Activate a value set for a variable library in a workspace

Terminal window
fabio variable-library activate-value-set --workspace <value> --id <value> --value-set <value>
Flag Type Required Description
--workspace string Yes Workspace ID or name
--id string Yes Variable library ID or name
--value-set string Yes Name of the value set to activate

Mutates state · Returns object