# si org

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

Source: https://slashinfra.com/docs/cli/org
Last modified: 2026-11-30T16:36:19.000Z

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

## Usage

```bash
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 |  |  |

## si org project

Create, list and delete projects

```bash
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 |  |  |

### si org project create

Create a project and print its name

```bash
si org project create [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The name: lowercase letters, digits and hyphens, at most 32 characters |  |  |

| 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 |  |  |

### si org project ls

List the projects of the organization, oldest first

```bash
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 |  |  |

### si org project rm

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

```bash
si org project rm [OPTIONS] <PROJECT>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `project`required | `PROJECT` | The project id or name |  |  |

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `--json` |  | Print the result as JSON | false |  |
| `--help` |  | Print help |  |  |

## si org secret

Create, list, replace and delete write-only secrets

```bash
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 |  |  |

### si org secret create

Create a secret; the value comes from standard input only

```bash
si org secret create [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The name of the secret, unique in the project |  |  |

| 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 |  |  |

### si org secret ls

List the secrets of the organization, by name

```bash
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 |  |  |

### si org secret describe

Change the description of a secret; empty text clears it

```bash
si org secret describe [OPTIONS] <SECRET> <TEXT>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `secret`required | `SECRET` | The secret id or name |  |  |
| `text`required | `TEXT` | The new description; empty text clears it |  |  |

| 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 |  |  |

### si org secret replace

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

```bash
si org secret replace [OPTIONS] <SECRET>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `secret`required | `SECRET` | The secret id or name |  |  |

| 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 |  |  |

### si org secret rm

Delete a secret that no SVM or profile references

```bash
si org secret rm [OPTIONS] <SECRET>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `secret`required | `SECRET` | The secret id or name |  |  |

| 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 |  |  |

## si org ssh-key

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

```bash
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 |  |  |

### si org ssh-key add

Add a public key from a file or standard input

```bash
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 |  |  |

| 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 |  |  |

### si org ssh-key ls

List the SSH keys of the organization

```bash
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 |  |  |

### si org ssh-key rm

Remove a key by id, fingerprint or name

```bash
si org ssh-key rm [OPTIONS] <KEY>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `key`required | `KEY` | The key id, fingerprint or name |  |  |

| 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 |  |  |

## si org profile

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

```bash
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 |  |  |

### si org profile ls

List the workload profiles of the organization, by name

```bash
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 |  |  |

### si org profile create

Create a profile of environment, inbox and domain filter settings

```bash
si org profile create [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The name of the profile, unique in the project |  |  |

| 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 |  |  |

### si org profile show

Show one profile by id or name

```bash
si org profile show [OPTIONS] <PROFILE>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `profile`required | `PROFILE` | The profile id or name |  |  |

| 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 |  |  |

### si org profile update

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

```bash
si org profile update [OPTIONS] <PROFILE>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `profile`required | `PROFILE` | The profile id or name |  |  |

| 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 |  |  |

### si org profile rm

Delete a profile. SVMs that copied it keep their settings

```bash
si org profile rm [OPTIONS] <PROFILE>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `profile`required | `PROFILE` | The profile id or name |  |  |

| 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 |  |  |

## si org connection

Connect, list and delete the provider connections of the organization

```bash
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 |  |  |

### si org connection add

Connect an account of a provider to the organization

```bash
si org connection add [OPTIONS] <PROVIDER>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `provider`required | `PROVIDER` | The provider to connect: github |  |  |

| 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 |  |  |

```bash
Examples:
si org connection add github
```

### si org connection ls

List the connections of the organization

```bash
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 |  |  |

### si org connection rm

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

```bash
si org connection rm [OPTIONS] <CONNECTION>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `connection`required | `CONNECTION` | The connection id, as listed by si org connection ls |  |  |

| 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 |  |  |

## si org db

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

```bash
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 |  |  |

### si org db create

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

```bash
si org db create [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The name; the machine is `db-<name>` |  |  |

| 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 |  |  |

### si org db ls

List the databases of the project

```bash
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 |  |  |

### si org db get

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

```bash
si org db get [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The database name |  |  |

| 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 |  |  |

### si org db rm

Delete a database, its branches, backups and passwords

```bash
si org db rm [OPTIONS] <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `name`required | `NAME` | The database name |  |  |

| 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 |  |  |

### si org db branch

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

```bash
si org db branch [OPTIONS] <DATABASE> <NAME>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `database`required | `DATABASE` | The database name |  |  |
| `name`required | `NAME` | The branch name |  |  |

| 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 |  |  |

### si org db backup

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

```bash
si org db backup [OPTIONS] <DATABASE>
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `database`required | `DATABASE` | The database name |  |  |

| 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 |  |  |

### si org db password

Set a new password of a branch and print it once

```bash
si org db password [OPTIONS] <DATABASE> [BRANCH]
```

| Name | Value | Description | Default | Env |
| --- | --- | --- | --- | --- |
| `database`required | `DATABASE` | The database name |  |  |
| `branch` | `BRANCH` | The branch name; `main` by default |  |  |

| 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 |  |  |

## si org audit

Read the audit log of the organization, newest first

```bash
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 |  |  |
