📜  生产环境中的 Vault 部署 - PHP 代码示例

📅  最后修改于: 2022-03-11 14:54:14.596000             🧑  作者: Mango

代码示例1
#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