📅  最后修改于: 2022-03-11 14:54:14.596000             🧑  作者: Mango
#Create a config file and initialize with using the config file
vault server -config
#Check status. However, it will error export and try again
export VAULT_ADDR='http://127.0.0.1:8200'
vault status
#Do initlization and it will give you the unseal keys and root token
vault operator init
#Vault by default starts in sealed mode and for unsealing you need to provide 3 keys from above command
vault operator unseal