Manage the projects, secrets, keys, profiles, connections and databases of the organization
Usage
si org [OPTIONS] <COMMAND>Flags
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org project
Create, list and delete projects
si org project [OPTIONS] <COMMAND>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org project create
Create a project and print its name
si org project create [OPTIONS] <NAME>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
namerequired | NAME | The name: lowercase letters, digits and hyphens, at most 32 characters |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org project ls
List the projects of the organization, oldest first
si org project ls [OPTIONS]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org project rm
Delete a project that holds no SVM, snapshot, secret, profile or schedule
si org project rm [OPTIONS] <PROJECT>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
projectrequired | PROJECT | The project id or name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--help | Print help |
Scroll horizontally to see all columns.
si org secret
Create, list, replace and delete write-only secrets
si org secret [OPTIONS] <COMMAND>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org secret create
Create a secret; the value comes from standard input only
si org secret create [OPTIONS] <NAME>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
namerequired | NAME | The name of the secret, unique in the project |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--description | DESCRIPTION | An optional note about the secret, at most 200 characters | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org secret ls
List the secrets of the organization, by name
si org secret ls [OPTIONS]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org secret describe
Change the description of a secret; empty text clears it
si org secret describe [OPTIONS] <SECRET> <TEXT>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
secretrequired | SECRET | The secret id or name | ||
textrequired | TEXT | The new description; empty text clears it |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org secret replace
Replace the value of a secret; the value comes from standard input only
si org secret replace [OPTIONS] <SECRET>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
secretrequired | SECRET | The secret id or name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org secret rm
Delete a secret that no SVM or profile references
si org secret rm [OPTIONS] <SECRET>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
secretrequired | SECRET | The secret id or name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org ssh-key
Manage the SSH public keys that every SVM of the organization accepts
si org ssh-key [OPTIONS] <COMMAND>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org ssh-key add
Add a public key from a file or standard input
si org ssh-key add [OPTIONS] [FILE]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
file | FILE | The public key file; without it, ~/.ssh/id_ed25519.pub, or - for standard input |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--name | NAME | The name that lists show; the key's comment or type by default | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org ssh-key ls
List the SSH keys of the organization
si org ssh-key ls [OPTIONS]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org ssh-key rm
Remove a key by id, fingerprint or name
si org ssh-key rm [OPTIONS] <KEY>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
keyrequired | KEY | The key id, fingerprint or name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org profile
Create, list, show, change and delete reusable workload profiles
si org profile [OPTIONS] <COMMAND>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org profile ls
List the workload profiles of the organization, by name
si org profile ls [OPTIONS]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org profile create
Create a profile of environment, inbox and domain filter settings
si org profile create [OPTIONS] <NAME>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
namerequired | NAME | The name of the profile, unique in the project |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--env | KEY=VALUE | An environment variable of the profile, as KEY=VALUE; repeat it | ||
--email | Turn the profile's inbox on | false | ||
--allow-sender | ADDRESS | An exact sender address that the inbox accepts; repeat it. Implies --email | ||
--egress-filter | Turn the profile's domain filter on | false | ||
--allow-domain | DOMAIN | A destination that the filter permits; repeat it. An exact hostname or *.domain | ||
--github | CONNECTION | Attach a GitHub connection: a connection id or account; without a value, the only one | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org profile show
Show one profile by id or name
si org profile show [OPTIONS] <PROFILE>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
profilerequired | PROFILE | The profile id or name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org profile update
Change the fields of a profile. An omitted field keeps its value
si org profile update [OPTIONS] <PROFILE>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
profilerequired | PROFILE | The profile id or name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--name | NAME | A new unique name for the profile | ||
--env | KEY=VALUE | Replace the environment with these KEY=VALUE pairs; repeat the flag | ||
--email | Turn the profile's inbox on | false | ||
--no-email | Turn the profile's inbox off | false | ||
--allow-sender | ADDRESS | Replace the sender rule with these exact addresses; repeat the flag. Without the flag the current rule stays | ||
--egress-filter | Turn the domain filter on | false | ||
--no-egress-filter | Turn the domain filter off | false | ||
--allow-domain | DOMAIN | Replace the permitted domains with these; repeat the flag | ||
--github | CONNECTION | Attach a GitHub connection: a connection id or account; without a value, the only one | ||
--no-github | Remove the GitHub connection | false | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org profile rm
Delete a profile. SVMs that copied it keep their settings
si org profile rm [OPTIONS] <PROFILE>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
profilerequired | PROFILE | The profile id or name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org connection
Connect, list and delete the provider connections of the organization
si org connection [OPTIONS] <COMMAND>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org connection add
Connect an account of a provider to the organization
si org connection add [OPTIONS] <PROVIDER>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
providerrequired | PROVIDER | The provider to connect: github |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
Examples: si org connection add githubsi org connection ls
List the connections of the organization
si org connection ls [OPTIONS]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print 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
si org connection rm [OPTIONS] <CONNECTION>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
connectionrequired | CONNECTION | The connection id, as listed by si org connection ls |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db
Create, list, read, delete, branch, back up and set a password of a database
si org db [OPTIONS] <COMMAND>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db create
Create a Postgres database and print its connection, password included, once
si org db create [OPTIONS] <NAME>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
namerequired | NAME | The name; the machine is db-<name> |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--size | MIB | The base memory of every branch in MiB: 512 to 16384 in steps of 512 | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db ls
List the databases of the project
si org db ls [OPTIONS]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db get
Show one database, its branches and its connection without the password
si org db get [OPTIONS] <NAME>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
namerequired | NAME | The database name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db rm
Delete a database, its branches, backups and passwords
si org db rm [OPTIONS] <NAME>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
namerequired | NAME | The database name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db branch
Create a branch of a database; print its connection, password included, once
si org db branch [OPTIONS] <DATABASE> <NAME>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
databaserequired | DATABASE | The database name | ||
namerequired | NAME | The branch name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--from | FROM | The branch to fork; main by default | ||
--snapshot | SNAPSHOT | A backup snapshot of this database to start the branch from | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db backup
List the backups of a database, or schedule them with --cron and --keep
si org db backup [OPTIONS] <DATABASE>| Name | Value | Description | Default | Env |
|---|---|---|---|---|
databaserequired | DATABASE | The database name |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--cron | CRON | A five-field cron for the backup schedule | ||
--keep | KEEP | How many backups the schedule keeps, 1 to 100 | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org db password
Set a new password of a branch and print it once
si org db password [OPTIONS] <DATABASE> [BRANCH]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
databaserequired | DATABASE | The database name | ||
branch | BRANCH | The branch name; main by default |
Scroll horizontally to see all columns.
| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.
si org audit
Read the audit log of the organization, newest first
si org audit [OPTIONS]| Name | Value | Description | Default | Env |
|---|---|---|---|---|
--action | ACTION | Only the rows of this action, such as project.create | ||
--actor | ACTOR | Only the rows of this actor: user:<id>, key:<id>, node:<name>, operator or system | ||
--from | DURATION | Only the rows at or after this duration back: 1h, 7d or seconds | ||
--to | DURATION | Only the rows before this duration back: 1h, 7d or seconds | ||
--json | Print the result as JSON | false | ||
--project | PROJECT | The project of the command: an id or a name; SI_PROJECT when the flag is absent | SI_PROJECT | |
--help | Print help |
Scroll horizontally to see all columns.