# secret

Standalone secret instance (kix-managed)

This page is generated from [`kix/packages/stable/secret`](https://github.com/kix-run/kix/tree/main/kix/packages/stable/secret).

| | |
| --- | --- |
| Stability | Stable |
| `package` value | `packages.secret` |
| Default aliases | `secret` |

## Options

### `keys`

Declared secret keys. Derived from stringData if omitted.

- **Type:** `list of string`
- **Default:** `[ ]`

### `source`

Path to SOPS-encrypted file. kix-deploy hydrates from this at apply time.

- **Type:** `null or absolute path`
- **Default:** `null`

### `stringData`

Inline secret data (plaintext key-value pairs).

- **Type:** `attribute set of string`
- **Default:** `{ }`

### `type`

K8s secret type.

- **Type:** `string`
- **Default:** `"Opaque"`