Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3772694
D3403.id8772.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
602 B
Referenced Files
None
Subscribers
None
D3403.id8772.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D3403: Write auth/token/roles/salt-node in vault bootstrap DRP script
Attached
Detach File
Event Timeline
Log In to Comment