dotset secrets
Manage your encrypted secrets stored in Dotset’s native provider.
Commands
| Command | Description |
|---|
secrets init | Initialize native encrypted storage |
secrets set <key> <value> | Set a secret |
secrets get <key> | Get a secret value |
secrets list | List all secret keys |
secrets delete <key> | Delete a secret |
secrets sync | Sync with cloud |
secrets init
Initialize a new encrypted secrets store in the current directory.
This creates:
.dotset/key — Your encryption key (Never commit!)
.dotset/manifest.enc — Your encrypted secrets
secrets set
Add or update a secret in the native store.
dotset secrets set <key> <value> [options]
Options
| Option | Description | Default |
|---|
-s, --scope <scope> | Environment scope | development |
secrets list
List all secret keys stored in the native encrypted store.
dotset secrets list [options]
Options
| Option | Description | Default |
|---|
-s, --scope <scope> | Environment scope | development |
secrets sync
Sync native secrets with the cloud (requires authentication).
dotset secrets sync [options]
Options
| Option | Description |
|---|
--push | Push local secrets to cloud |
--pull | Pull cloud secrets to local |
Cloud sync requires authentication. Run dotset login first.