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" +}