Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F33050000
router.tf
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
router.tf
View Options
# -------------------------------------------------------------
# Terraform :: OpenBao :: Router
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: BSD-2-Clause
# Provider: Vault / OpenBao
# Target: completor.nasqueron.drake
# -------------------------------------------------------------
# -------------------------------------------------------------
# Policy
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
resource
"vault_policy" "router"
{
name
=
"router"
policy
=
file
(
"${path.module}/policies/router.hcl"
)
}
# -------------------------------------------------------------
# AppRole
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
module
"router_approle"
{
source
=
"./modules/app_credentials"
role_name
=
"router"
policies
=
[
"router"
]
secret_id_bound_cidrs
=
[
"172.27.27.11/32"
,
# router-002
"172.27.27.12/32"
,
# router-003
]
# Save credentials to
kv_mount
=
"ops"
kv_path
=
"secrets/network/router/vault"
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Jun 16, 13:49 (1 d, 22 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3808043
Default Alt Text
router.tf (1 KB)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment