You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/guide/cli/reference.md
+50Lines changed: 50 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,31 @@ List all configured vaults.
47
47
keep vault:list
48
48
```
49
49
50
+
## `keep vault:delete`
51
+
52
+
Delete a vault configuration.
53
+
54
+
| Option | Type | Default | Description |
55
+
|--------|------|---------|-------------|
56
+
|`--force`| boolean |`false`| Delete without confirmation |
57
+
58
+
**Arguments:**
59
+
-`[vault]` - Vault slug to delete (prompted if not provided)
60
+
61
+
**Examples:**
62
+
```bash
63
+
# Interactive deletion
64
+
keep vault:delete
65
+
66
+
# Delete specific vault
67
+
keep vault:delete my-vault
68
+
69
+
# Force delete without prompt
70
+
keep vault:delete my-vault --force
71
+
```
72
+
73
+
**Note:** The default vault cannot be deleted. Change the default vault first with `keep init`. Deleting a vault only removes the local Keep configuration — secrets in the remote vault are not affected.
74
+
50
75
## `keep env:add`
51
76
52
77
Add a custom env/environment beyond the standard ones (local, staging, production).
|`--force`| boolean |`false`| Remove without confirmation |
115
+
116
+
**Arguments:**
117
+
-`[name]` - Environment name to remove (prompted if not provided)
118
+
119
+
**Examples:**
120
+
```bash
121
+
# Interactive removal
122
+
keep env:remove
123
+
124
+
# Remove specific environment
125
+
keep env:remove integration
126
+
127
+
# Force remove without prompt
128
+
keep env:remove qa --force
129
+
```
130
+
131
+
**Note:** System environments (local, staging, production) cannot be removed. Removing an environment only updates the local Keep settings — secrets in remote vaults are not affected.
132
+
83
133
## `keep workspace`
84
134
85
135
Personalize your workspace by filtering which vaults and envs appear in commands and UI.
System environments (local, staging, production) cannot be removed.
121
+
111
122
## Add a Vault
112
123
113
124
```bash
@@ -121,6 +132,17 @@ Follow the prompts to configure AWS SSM or Secrets Manager access. After adding
121
132
122
133
**Note:** AWS credentials must be configured separately from your application secrets. See [AWS Authentication](/guide/aws-authentication) for setup instructions.
123
134
135
+
### Remove a Vault
136
+
137
+
You can delete vault configurations if they're no longer needed:
0 commit comments