a6d6681bc9
Add the OAuth2/OIDC provider + application and the akP-artifactapi-admin permission group gating it, nested under akR-global-admin.
24 lines
1.1 KiB
YAML
24 lines
1.1 KiB
YAML
# OAuth2/OIDC provider + application for the artifactapi web UI
|
|
# (https://artifactapi.k8s.syd1.au.unkin.net/ui in the artifactapi namespace).
|
|
# An oauth2-proxy fronts ONLY /ui and /oauth2; access is gated on the user's
|
|
# hierarchical ak_groups claim (akP-artifactapi-admin). The package-manager
|
|
# surfaces (/api/v1, /api/v2, /v2, /terraform, /.well-known) are NOT behind this
|
|
# provider -- yum, containerd, docker, terraform and CI cannot do a browser flow.
|
|
# client_secret is read from Vault (seeded out of band), never committed.
|
|
name: artifactapi
|
|
authorization_flow: default-provider-authorization-implicit-consent
|
|
invalidation_flow: default-provider-invalidation-flow
|
|
client_type: confidential
|
|
client_id: artifactapi
|
|
launch_url: https://artifactapi.k8s.syd1.au.unkin.net/ui/
|
|
client_secret_vault:
|
|
mount: kv
|
|
path: kubernetes/namespace/artifactapi/default/oauth-credentials
|
|
scope_mappings:
|
|
- goauthentik.io/providers/oauth2/scope-openid
|
|
- goauthentik.io/providers/oauth2/scope-email
|
|
- goauthentik.io/providers/oauth2/scope-profile
|
|
redirect_uris:
|
|
- matching_mode: strict
|
|
url: https://artifactapi.k8s.syd1.au.unkin.net/oauth2/callback
|