From 979a38683109ade63d620dfb1075e5080203052d Mon Sep 17 00:00:00 2001 From: Tobias Reisinger Date: Wed, 9 Oct 2024 01:33:24 +0200 Subject: [PATCH] Add minio to authentik --- modules/services/authentik.tf | 38 ++++++++++++++++++++++++++++++++++- roles/minio/vars/main.yml | 8 ++++++++ services.auto.tfvars | 3 ++- 3 files changed, 47 insertions(+), 2 deletions(-) diff --git a/modules/services/authentik.tf b/modules/services/authentik.tf index 08058ab..63bc0e7 100644 --- a/modules/services/authentik.tf +++ b/modules/services/authentik.tf @@ -14,6 +14,39 @@ data "authentik_property_mapping_provider_scope" "default_scopes" { ] } +resource "authentik_user" "default" { + username = "serguzim" + name = "Tobias Reisinger" + email = "tobias@msrg.cc" +} + +resource "authentik_property_mapping_provider_scope" "minio" { + name = "minio" + scope_name = "minio" + expression = <