Page MenuHomeDevCentral

D3403.diff
No OneTemporary

D3403.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, 02:39 (21 h, 1 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2261576
Default Alt Text
D3403.diff (602 B)

Event Timeline