variable-library
Manage variable libraries (shared variables)
Authentication scope: fabric
List variable librarys in a workspace
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
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
Section titled “create”Create a new variable library
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
Section titled “update”Update variable library properties
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
Section titled “delete”Delete a variable library
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-definition
Section titled “get-definition”Get the definition of a variable library
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-definition
Section titled “update-definition”Update the definition of a variable library
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
Section titled “list-value-sets”List value sets defined in a variable library
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-value-set
Section titled “activate-value-set”Activate a value set for a variable library in a workspace
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
