Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to set the client secret from an existing kubernetes secret? #234

Closed
jcornaz opened this issue Mar 7, 2023 · 1 comment
Closed

How to set the client secret from an existing kubernetes secret? #234

jcornaz opened this issue Mar 7, 2023 · 1 comment

Comments

@jcornaz
Copy link

jcornaz commented Mar 7, 2023

Hi,

I don't want to hard-code the client secret in plain text in the config file. How can I reference a Kubernetes secret that contains the client secret?

@nacx
Copy link
Collaborator

nacx commented Mar 26, 2024

Starting from v1.0.0 you can configure it with something like:

"oidc": {
    "client_id": "fake-client-id",
    "client_secret_ref": {
        "namespace": "default",
        "name": "test-secret-1"
    }
}

@nacx nacx closed this as completed Mar 26, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants