Skip to main content

delete

The delete command deletes secrets and configuration from OpenBao at the given path (wrapper command for HTTP DELETE). The behavior of "delete" is delegated to the backend corresponding to the given path.

Examples

Remove data in the static secrets engine:

$ bao delete secret/my-secret

Uninstall an encryption key in the transit backend:

$ bao delete transit/keys/my-key

Note: changing the deletion_allowed parameter to true is necessary for the key to be successfully deleted, you can read more on key parameters here

Usage

There are no flags beyond the standard set of flags included on all commands.