add auto init/unseal for vault
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,5 +3,5 @@
|
|||||||
*.env
|
*.env
|
||||||
*artifacts*
|
*artifacts*
|
||||||
*k8s-admin*
|
*k8s-admin*
|
||||||
*vault-keys.json*
|
vault-keys.json
|
||||||
*config.yaml*
|
*config.yaml*
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"keys": [
|
||||||
|
{{- range $index, $key := .Modules.SecretsStorage.UnsealKeys }}
|
||||||
|
"{{ $key }}",
|
||||||
|
{{- end }}
|
||||||
|
],
|
||||||
|
"root_token": "{{ .Modules.SecretsStorage.RootToken }}"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user