> ## Documentation Index
> Fetch the complete documentation index at: https://tensorfuse.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# tensorkube secret

## `tensorkube secret`

Create, list, and delete secrets.

**Usage:**

```bash theme={null}
tensorkube secret COMMAND [ARGS]...
```

**Options:**

* `--help BOOL` \[default: false]: Show this message and exit.

**Commands:**

* `create`: Create a new secret in the specified environment. Use `--force` to overwrite an existing one.

* `delete`: Delete a secret from the specified environment.

* `list`: List all the secrets in the specified environment.

## `tensorkube secret create`

Create a new secret in the specified environment. Use `--force` to overwrite an existing one.

**Usage:**

```bash theme={null}
tensorkube secret create <SECRET_NAME> <KEY_VALUE_PAIRS> [OPTIONS]
```

**Arguments:**

* `<SECRET_NAME>` (TEXT): No description available.

* `<KEY_VALUE_PAIRS>` (TEXT): No description available.

**Options:**

* `--env TEXT` \[default: default]: Environment to create the secret in.

* `--force BOOLEAN` \[default: False]: Update the secret if one with the same name already exists.

* `--help BOOL` \[default: false]: Show this message and exit.

## `tensorkube secret delete`

Delete a secret from the specified environment.

<Warning>
  This action cannot be undone. Deleting a secret will affect all the deployments that are using that particular secret.
  They might completely fail to initialise. Use this command with caution.
</Warning>

**Usage:**

```bash theme={null}
tensorkube secret delete <SECRET_NAME> [OPTIONS]
```

**Arguments:**

* `<SECRET_NAME>` (TEXT): No description available.

**Options:**

* `--env TEXT` \[default: default]: Environment to delete the secret from.

* `--help BOOL` \[default: false]: Show this message and exit.

## `tensorkube secret list`

List all the secrets in the specified environment.

**Usage:**

```bash theme={null}
tensorkube secret list [OPTIONS]
```

**Options:**

* `--env TEXT` \[default: default]: Environment to list the secrets from.

* `--help BOOL` \[default: false]: Show this message and exit.
