WIP: Vault db
This commit is contained in:
parent
b13c5a1388
commit
0a003c39b1
17
nomad/acls/nomad_vault_db.tf
Normal file
17
nomad/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