try vault postgres secret engine

This commit is contained in:
2024-10-18 15:42:31 +02:00
parent 5da0f2150b
commit 3bb67fc2c1
8 changed files with 165 additions and 2 deletions

16
iac/providers.tf Normal file
View File

@@ -0,0 +1,16 @@
terraform {
required_providers {
vault = {
source = "vault"
version = "4.4.0"
}
}
}
provider vault {
address = "https://vault.arcodange.duckdns.org"
auth_login_jwt { # TERRAFORM_VAULT_AUTH_JWT environment variable
mount = "gitea_jwt"
role = "gitea_cicd_webapp"
}
}