From a77bf1ec515c8da6547ce81024aac058a81a6425 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Huss?= Date: Mon, 29 Jan 2024 09:48:07 +0100 Subject: [PATCH] improve oauth2 ouput --- oauth2/outputs.tf | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/oauth2/outputs.tf b/oauth2/outputs.tf index 0133512..c7cc20c 100644 --- a/oauth2/outputs.tf +++ b/oauth2/outputs.tf @@ -23,3 +23,16 @@ output "client_id" { output "client_secret" { value = data.kubernetes_secret_v1.oauth2-client-secret.data["client-secret"] } + +output "secret_client_id_name" { + value = kubectl_manifest.oauth2-secret.name +} +output "secret_client_secret_name" { + value = kubernetes_secret_v1.oauth2-client-secret.metadata[0].name +} +output "secret_client_id_key" { + value = "client-id" +} +output "secret_client_secret_key" { + value = "client-secret" +}