Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Conversation

@seboudry
Copy link

@seboudry seboudry commented Feb 9, 2024

This PR add support for Kong Vault secrets as environment variables.
https://docs.konghq.com/gateway/latest/kong-enterprise/secrets-management/

Example usage on Kong deployed with Helm chart.

Helm chart values:

customEnv:
  oidc_quicksign_sso_client_id: "client_id"
  oidc_quicksign_sso_client_secret: "client_secret"

Kong plugin

apiVersion: configuration.konghq.com/v1
kind: KongClusterPlugin
metadata:
  name: oidc-sso
plugin: oidc
config:
  client_id: "{vault://env/oidc_quicksign_sso_client_id}"
  client_secret: "{vault://env/oidc_quicksign_sso_client_secret}"
  realm: master
  discovery: https://mydomain/auth/realms/master/.well-known/openid-configuration

@cristichiru
Copy link

Sorry for the late response, can you please update the rockspec? saw just now you made almost the same changes as a previous PR

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants