Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56344499
create-vault-approle.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
878 B
Referenced Files
None
Subscribers
None
create-vault-approle.sh
View Options
#!/bin/sh
# -------------------------------------------------------------
# Vault AppRole creator
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# Source file: roles/devserver/userland-software/files/create-vault-approle.sh
# -------------------------------------------------------------
#
# <auto-generated>
# This file is managed by our rOPS SaltStack repository.
#
# Changes to this file may cause incorrect behavior
# and will be lost if the state is redeployed.
# </auto-generated>
VAULT_POLICY
=
$1
vault
write
"auth/approle/role/
$VAULT_POLICY
"
token_policies
=
"
$VAULT_POLICY
"
\
token_ttl
=
1h
token_max_ttl
=
4h
vault
read
"auth/approle/role/
$VAULT_POLICY
/role-id"
vault
write
-force
"auth/approle/role/
$VAULT_POLICY
/secret-id"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Nov 7, 06:17 (7 h, 53 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4093389
Default Alt Text
create-vault-approle.sh (878 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment