文件名称:Vault-Presentation:保管库演示和演示材料
文件大小:9KB
文件格式:ZIP
更新时间:2024-06-06 03:35:56
Makefile
保管箱演示 你好,世界 $ make build $ export VAULT_ADDR= ' http://127.0.0.1:8200 ' $ ROOT_TOKEN= $( docker logs vault-server 2>&1 | grep " Root Token " | awk ' {print $3} ' ) $ vault login ${ROOT_TOKEN?} $ vault status $ vault kv put secret/hello value=world $ echo -n " brewcore " | vault kv put secret/password value=- $ cat data.json $ vault kv put secret/password @data.json $ vault kv get -field=value sec
【文件预览】:
Vault-Presentation-master
----demo()
--------dynamic.md(2KB)
--------hello-world.md(597B)
----examples()
--------data.json(25B)
--------data.txt(7B)
----LICENSE(1KB)
----policy()
--------db-dba.hcl(59B)
--------db-readonly.hcl(64B)
--------db-readwrite.hcl(65B)
----README.md(9KB)
----Makefile(1KB)
----.editorconfig(52B)
----.gitignore(955B)
----postgres()
--------bootstrap()
--------env.list(278B)