Page MenuHomeDevCentral

D3403.id8772.diff
No OneTemporary

D3403.id8772.diff

diff --git a/roles/vault/bootstrap/files/vault-initialize.sh b/roles/vault/bootstrap/files/vault-initialize.sh
--- a/roles/vault/bootstrap/files/vault-initialize.sh
+++ b/roles/vault/bootstrap/files/vault-initialize.sh
@@ -38,6 +38,7 @@
# Authentication :: token roles
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+vault write auth/token/roles/salt-node allowed_policies_glob="salt-node-*" token_bound_cidrs="127.0.0.1,172.27.27.0/24"
vault write auth/token/roles/admin allowed_policies=admin period=30d
# -------------------------------------------------------------

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 04:38 (19 h, 39 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261576
Default Alt Text
D3403.id8772.diff (602 B)

Event Timeline