Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
sw:vault [2026/03/12 07:10]
tomas [URL]
sw:vault [2026/03/12 07:11] (current)
tomas [API]
Line 7: Line 7:
  
  
-==== API ====+=== Autentifikace ===
 curl --request POST --data '{"role_id":"aaa","secret_id":"bbb"}' http://127.0.0.1:8200/v1/auth/approle/login ... pomocí App Role získá token\\ curl --request POST --data '{"role_id":"aaa","secret_id":"bbb"}' http://127.0.0.1:8200/v1/auth/approle/login ... pomocí App Role získá token\\
 +curl --header "X-Vault-Token: AAA"  http://127.0.0.1:8200/v1/auth/approle/role/my-role/role-id ... vypíše role_id pro my_role\\
  
 ==== CLI ==== ==== CLI ====