There are two different methods to clear a Vault cluster in an emergency.
This assumes that your Vault Cluster already uses Consul as its Storage...
For further actions, you may consider blocking this person and/or reporting abuse
If you go with the default Helm installation of Vault then you should be aware that it seems like Vault caches its init state, even though you've deleted it in Consul.
What helped me:
consul kv delete -recurse vault/kubectl delete pods -l app.kubernetes.io/instance=vault -n your_namespaceThe command to delete vault should be updated to :
consul kv delete -recurse vault/
Otherwise it doesn't delete vault/, even though it says it's successful.
// , Updated, thanks for testing it, @bartdzkan .
what if the storage backend is mysql?
how can I delete that?
in case your storage backend is mysql with juju , you can connect to mysql database through mysqlclient and drop the table.