WIP: Vault db

This commit is contained in:
IamTheFij 2022-05-12 19:27:52 -07:00
parent 07ff8e57b8
commit b6145a54a0
1 changed files with 17 additions and 0 deletions

17
acls/nomad_vault_db.tf Normal file
View 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 = ""
# }
# }