Elektra
0.8.25
|
kdb rm <path>
Where path
is the path of the key(s) you want to remove. Note that when using the -r
flag, not only the key directly at path
will be removed, but all of the keys below the path as well.
This command removes key(s) from the Key database.
-H
, --help
: Show the man page.-V
, --version
: Print version info.-p
, --profile <profile>
: Use a different kdb profile.-C
, --color <when>
: Print never/auto(default)/always colored output.-r
, --recursive
: Work in a recursive mode.-f
, --force
: Do not fail on missing key.To remove multiple keys:
kdb rm -r user/example
To remove a single key:
kdb rm user/example/key1
To not fail when key is missing:
kdb rm -f user/maybe/missing