Getting started
Reference docs
- Manage: acl
- Manage: org
- Manage: repo
- Manage: service
- Command: audit
- Command: generate
- Command: inject
- Command: ls
- Command: inspect
- Command: mkdir
- Command: rm
- Command: tree
- Updating the CLI
- Troubleshoot CLI installation
- Setting flags with environment variables
- Passphrase caching
Security docs
Command: rm
To permanently remove a directory, secret, or version, you can run the rm
command:
secrethub rm [options] <namespace>/<repo>[/<path>]
The rm
command permanently removes a resource, so proceed with caution here.
Note that this command cannot be used to remove repositories, you can use the repo rm
command for that.
Arguments
<namespace>/<repo>[/<path>]
(string)- The path to the directory, secret or version to remove.
Flags
-r, --recursive
(boolean)- Remove directories and their contents recursively. Must be used for removing directories.