Hi,
Im using the last version of Vault and I’m having a very wierd issue, I launched a server basicily with " vault server -config=config.hcl."
My config.hcl is a basic one :
storage “raft” {
path = “./vault/data”
node_id = “node1”
}
listener “tcp” {
address = “127.0.0.1:8200”
tls_disable = “true”
}
disable_mlock = true
api_addr = “http://127.0.0.1:8200”
cluster_addr = “https://127.0.0.1:8201”
ui = true
So I don’t think the issue is coming from there.
Okay so there everything is fine BUT after opening a new terminal if I try the command : vault operator init
to initialize the server I have this error message :
failed to get token helper: read /home/outscale/.vault: is a directory
Moreover, I have this error message with every other " vault " command so I don’t know what to do.
I used a server yesterday and removed everything like explained in the tutorial ( Deploy Vault | Vault - HashiCorp Learn ) with the commands :
pgrep -f vault | xargs kill
rm -r ./vault/data
Thanks a lot if you have an anwser for this problem and have a good day