envoyproxy / envoyproxy/gateway

Allow OIDC application information from secret

Open
#7,997 10 comments 1 reaction 0 assignees View on GitHub
help wanted kind/feature
Dominant language
Go
Stars
3k
Forks
864
Avg merge
2d 2h
Merged PRs (30d)
140

Description

Currently non-private OIDC configuration must be supplied plain-text in SecurityPolicy. I would like to be able to reference this information from a secret, because we have automation in place that creates OIDC applications in the IDP and creates secrets in the cluster with the required information to use the application. We also use gitops with argocd for configuration and deployment of applications. For example in azure the issuer contains the tenant-id, which we don't want to have to supply in config since we can determine it dynamically in our automation. The client-id is only available after creating the application. Currently this is a two-step process where we first have to deploy the application that needs authentication through envoy-gateway so the automation creates the application in the azure tenant, then we have to grab the client-id from azure and update the gitops repo with the client-id. In other applications we can simply reference the secret in the cluster, which contains all of this information, requiring no two-step process.

[optional *Relevant Links*:]
>Any extra documentation required to understand the issue.

```
oidc:
provider:
issuer: https://sts.windows.net//
clientID:
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.