No more sercretString dans oauth2
This commit is contained in:
@@ -18,14 +18,14 @@ output "sso_token_url" {
|
||||
value = "https://${data.kubernetes_ingress_v1.authentik.spec[0].rule[0].host}/application/o/token/"
|
||||
}
|
||||
output "client_id" {
|
||||
value = data.kubernetes_secret_v1.oauth2-client-id.data["client-id"]
|
||||
value = random_password.client_id.result
|
||||
}
|
||||
output "client_secret" {
|
||||
value = data.kubernetes_secret_v1.oauth2-client-secret.data["client-secret"]
|
||||
value = authentik_provider_oauth2.oauth2.client_secret
|
||||
}
|
||||
|
||||
output "secret_client_id_name" {
|
||||
value = kubectl_manifest.oauth2-secret.name
|
||||
value = kubernetes_secret_v1.oauth2-client-secret.metadata[0].name
|
||||
}
|
||||
output "secret_client_secret_name" {
|
||||
value = kubernetes_secret_v1.oauth2-client-secret.metadata[0].name
|
||||
|
||||
Reference in New Issue
Block a user