This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
sw:vault [2024/05/09 13:58] tomas |
sw:vault [2024/09/10 19:54] (current) tomas [CLI] |
||
---|---|---|---|
Line 10: | Line 10: | ||
**[[https:// | **[[https:// | ||
VAULT_TOKEN ... token pro autorizaci\\ | VAULT_TOKEN ... token pro autorizaci\\ | ||
- | VAULT_SKIP_VERIFY ... ignoruje nevalidní certifikát\\ | + | VAULT_SKIP_VERIFY=true ... ignoruje nevalidní certifikát\\ |
VAULT_ADDR=https:// | VAULT_ADDR=https:// | ||
Line 27: | Line 27: | ||
vault write -format=json identity/ | vault write -format=json identity/ | ||
vault write identity/ | vault write identity/ | ||
+ | vault audit enable file file_path=/ | ||
+ | vault event subscribe kv-v2/ | ||
+ | wss:// | ||
+ | wscat -H " | ||
Line 39: | Line 43: | ||
vault read auth/ | vault read auth/ | ||
vault read sys/ | vault read sys/ | ||
+ | vault print token ... vypíše hodnotu tokenu\\ | ||
== Práce s Vault službou == | == Práce s Vault službou == |