Vault operator unseal : Too many arguments(expected 1, got 3)

Following these indications: Vault installation to minikube via Helm with TLS enabled | Vault | HashiCorp Developer ,
I tried to unseal Vault running on the vault-0 pod :

root@k8s-eu-1-control-plane-node-1:~# kubectl exec -n $VAULT_K8S_NAMESPACE vault-0 -- 
   vault operator unseal $VAULT_UNSEAL_KEY

Too many arguments (expected 1, got 3)
command terminated with exit code 1

How to make it work?

You can write this command inside the Vault pod:
$ vault operator unseal
and it will request you to put unseal keys based on the threshold that you have specified.

1 Like

Yes. Thank you. Solved

1 Like