在专用于Terraform部署的服务器上引导保管库ASG时。运行初始化脚本时,vault_seal_status=$(curl -s $${NEW_VAULT_ADDR}/v1/sys/seal-status)
的退出状态为6。尝试100次,每次之间的睡眠时间为15s,没有发现任何变化。
在Vault ec2内部,尝试了以下操作:
export VAULT_ADDR=https://localhost:8200
curl -s https://localhost:8200/v1/sys/seal-status | jq -r
获得回复
{ "type": "awskms",
"initialized": false,
"sealed": true,
"t": 0,
"n": 0,
"progress": 0,
"nonce": "",
"version": "",
"migration": false,
"recovery_seal": true,
"storage_type": "consul"
}