Skip to content

Manage the projects, secrets, keys, profiles, connections and databases of the organization

Usage

Terminal window
si org [OPTIONS] <COMMAND>

Flags

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org project

Create, list and delete projects

Terminal window
si org project [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org project create

Create a project and print its name

Terminal window
si org project create [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe name: lowercase letters, digits and hyphens, at most 32 characters

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org project ls

List the projects of the organization, oldest first

Terminal window
si org project ls [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org project rm

Delete a project that holds no SVM, snapshot, secret, profile or schedule

Terminal window
si org project rm [OPTIONS] <PROJECT>
NameValueDescriptionDefaultEnv
projectrequiredPROJECTThe project id or name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--helpPrint help

Scroll horizontally to see all columns.

si org secret

Create, list, replace and delete write-only secrets

Terminal window
si org secret [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org secret create

Create a secret; the value comes from standard input only

Terminal window
si org secret create [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe name of the secret, unique in the project

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--descriptionDESCRIPTIONAn optional note about the secret, at most 200 characters
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org secret ls

List the secrets of the organization, by name

Terminal window
si org secret ls [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org secret describe

Change the description of a secret; empty text clears it

Terminal window
si org secret describe [OPTIONS] <SECRET> <TEXT>
NameValueDescriptionDefaultEnv
secretrequiredSECRETThe secret id or name
textrequiredTEXTThe new description; empty text clears it

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org secret replace

Replace the value of a secret; the value comes from standard input only

Terminal window
si org secret replace [OPTIONS] <SECRET>
NameValueDescriptionDefaultEnv
secretrequiredSECRETThe secret id or name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org secret rm

Delete a secret that no SVM or profile references

Terminal window
si org secret rm [OPTIONS] <SECRET>
NameValueDescriptionDefaultEnv
secretrequiredSECRETThe secret id or name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org ssh-key

Manage the SSH public keys that every SVM of the organization accepts

Terminal window
si org ssh-key [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org ssh-key add

Add a public key from a file or standard input

Terminal window
si org ssh-key add [OPTIONS] [FILE]
NameValueDescriptionDefaultEnv
fileFILEThe public key file; without it, ~/.ssh/id_ed25519.pub, or - for standard input

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--nameNAMEThe name that lists show; the key's comment or type by default
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org ssh-key ls

List the SSH keys of the organization

Terminal window
si org ssh-key ls [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org ssh-key rm

Remove a key by id, fingerprint or name

Terminal window
si org ssh-key rm [OPTIONS] <KEY>
NameValueDescriptionDefaultEnv
keyrequiredKEYThe key id, fingerprint or name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org profile

Create, list, show, change and delete reusable workload profiles

Terminal window
si org profile [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org profile ls

List the workload profiles of the organization, by name

Terminal window
si org profile ls [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org profile create

Create a profile of environment, inbox and domain filter settings

Terminal window
si org profile create [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe name of the profile, unique in the project

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--envKEY=VALUEAn environment variable of the profile, as KEY=VALUE; repeat it
--emailTurn the profile's inbox onfalse
--allow-senderADDRESSAn exact sender address that the inbox accepts; repeat it. Implies --email
--egress-filterTurn the profile's domain filter onfalse
--allow-domainDOMAINA destination that the filter permits; repeat it. An exact hostname or *.domain
--githubCONNECTIONAttach a GitHub connection: a connection id or account; without a value, the only one
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org profile show

Show one profile by id or name

Terminal window
si org profile show [OPTIONS] <PROFILE>
NameValueDescriptionDefaultEnv
profilerequiredPROFILEThe profile id or name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org profile update

Change the fields of a profile. An omitted field keeps its value

Terminal window
si org profile update [OPTIONS] <PROFILE>
NameValueDescriptionDefaultEnv
profilerequiredPROFILEThe profile id or name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--nameNAMEA new unique name for the profile
--envKEY=VALUEReplace the environment with these KEY=VALUE pairs; repeat the flag
--emailTurn the profile's inbox onfalse
--no-emailTurn the profile's inbox offfalse
--allow-senderADDRESSReplace the sender rule with these exact addresses; repeat the flag. Without the flag the current rule stays
--egress-filterTurn the domain filter onfalse
--no-egress-filterTurn the domain filter offfalse
--allow-domainDOMAINReplace the permitted domains with these; repeat the flag
--githubCONNECTIONAttach a GitHub connection: a connection id or account; without a value, the only one
--no-githubRemove the GitHub connectionfalse
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org profile rm

Delete a profile. SVMs that copied it keep their settings

Terminal window
si org profile rm [OPTIONS] <PROFILE>
NameValueDescriptionDefaultEnv
profilerequiredPROFILEThe profile id or name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org connection

Connect, list and delete the provider connections of the organization

Terminal window
si org connection [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org connection add

Connect an account of a provider to the organization

Terminal window
si org connection add [OPTIONS] <PROVIDER>
NameValueDescriptionDefaultEnv
providerrequiredPROVIDERThe provider to connect: github

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

Terminal window
Examples:
si org connection add github

si org connection ls

List the connections of the organization

Terminal window
si org connection ls [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org connection rm

Delete a connection and its tokens; an SVM that references it blocks the delete

Terminal window
si org connection rm [OPTIONS] <CONNECTION>
NameValueDescriptionDefaultEnv
connectionrequiredCONNECTIONThe connection id, as listed by si org connection ls

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db

Create, list, read, delete, branch, back up and set a password of a database

Terminal window
si org db [OPTIONS] <COMMAND>
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db create

Create a Postgres database and print its connection, password included, once

Terminal window
si org db create [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe name; the machine is db-<name>

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--sizeMIBThe base memory of every branch in MiB: 512 to 16384 in steps of 512
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db ls

List the databases of the project

Terminal window
si org db ls [OPTIONS]
NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db get

Show one database, its branches and its connection without the password

Terminal window
si org db get [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe database name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db rm

Delete a database, its branches, backups and passwords

Terminal window
si org db rm [OPTIONS] <NAME>
NameValueDescriptionDefaultEnv
namerequiredNAMEThe database name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db branch

Create a branch of a database; print its connection, password included, once

Terminal window
si org db branch [OPTIONS] <DATABASE> <NAME>
NameValueDescriptionDefaultEnv
databaserequiredDATABASEThe database name
namerequiredNAMEThe branch name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--fromFROMThe branch to fork; main by default
--snapshotSNAPSHOTA backup snapshot of this database to start the branch from
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db backup

List the backups of a database, or schedule them with --cron and --keep

Terminal window
si org db backup [OPTIONS] <DATABASE>
NameValueDescriptionDefaultEnv
databaserequiredDATABASEThe database name

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--cronCRONA five-field cron for the backup schedule
--keepKEEPHow many backups the schedule keeps, 1 to 100
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org db password

Set a new password of a branch and print it once

Terminal window
si org db password [OPTIONS] <DATABASE> [BRANCH]
NameValueDescriptionDefaultEnv
databaserequiredDATABASEThe database name
branchBRANCHThe branch name; main by default

Scroll horizontally to see all columns.

NameValueDescriptionDefaultEnv
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.

si org audit

Read the audit log of the organization, newest first

Terminal window
si org audit [OPTIONS]
NameValueDescriptionDefaultEnv
--actionACTIONOnly the rows of this action, such as project.create
--actorACTOROnly the rows of this actor: user:<id>, key:<id>, node:<name>, operator or system
--fromDURATIONOnly the rows at or after this duration back: 1h, 7d or seconds
--toDURATIONOnly the rows before this duration back: 1h, 7d or seconds
--jsonPrint the result as JSONfalse
--projectPROJECTThe project of the command: an id or a name; SI_PROJECT when the flag is absentSI_PROJECT
--helpPrint help

Scroll horizontally to see all columns.