Refactor the vault/secrets
This commit is contained in:
parent
11c339ce92
commit
28f2e9a33a
32 changed files with 144 additions and 83 deletions
|
|
@ -1,4 +1,6 @@
|
|||
---
|
||||
authentik_secret_key: "{{ undef() }}"
|
||||
|
||||
authentik_svc:
|
||||
domain: "{{ all_services | service_get_domain(role_name) }}"
|
||||
port: 9000
|
||||
|
|
@ -11,7 +13,7 @@ authentik_svc:
|
|||
database: "{{ opentofu.postgresql_data.authentik.database }}"
|
||||
|
||||
authentik_env:
|
||||
AUTHENTIK_SECRET_KEY: "{{ vault_authentik.secret_key }}"
|
||||
AUTHENTIK_SECRET_KEY: "{{ authentik_secret_key | mandatory }}"
|
||||
|
||||
AUTHENTIK_EMAIL__HOST: "{{ mailer.host }}"
|
||||
AUTHENTIK_EMAIL__PORT: "{{ mailer.port }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue