WIP: Vault db
This commit is contained in:
parent
07ff8e57b8
commit
b6145a54a0
17
acls/nomad_vault_db.tf
Normal file
17
acls/nomad_vault_db.tf
Normal file
@ -0,0 +1,17 @@
|
||||
# resource "vault_mount" "db" {
|
||||
# path = "database"
|
||||
# type = "database"
|
||||
# }
|
||||
#
|
||||
# resource "vault_database_secret_backend_connection" "mysql" {
|
||||
# backend = vault_mount.db.path
|
||||
# name = "mysql"
|
||||
# allowed_roles = ["accessdb"]
|
||||
#
|
||||
# mysql {
|
||||
# # How to give access here?
|
||||
# connection_url = "{{username}}:{{password}}@tcp(localhost:3306)"
|
||||
# username = ""
|
||||
# password = ""
|
||||
# }
|
||||
# }
|
Loading…
Reference in New Issue
Block a user