Using the OAuth2 Proxy (oauth2-proxy) service
The OAuth2 Proxy service provides an advanced method for managing authentication and access control for Ceph applications. The oauth2-proxy service integrates with external Identity Providers (IdPs) to provide secure, flexible authentication with the OpenID Connect (OIDC) protocol. oauth2-proxy acts as an authentication gateway, ensuring that access to Ceph applications are tightly controlled.
Using the OAuth2 Proxy service with authentication requires using the Ceph
Management gateway (mgmt-gateway). For more information, see Using the Ceph Management gateway (mgmt-gateway).
oauth2-proxy service provides multiple benefits.- Enhanced security
- Provides robust authentication through integration with external IdPs by using the OIDC protocol.
- Seamless single sign-on (SSO)
- Enables seamless SSO across all Ceph monitoring applications, improving user access control. For more information about enabling OAuth2 SSO for the Ceph Dashboard, see Enabling OAuth2 single sign-on.
- Centralized authentication
- Centralizes authentication management, reducing complexity and improving control over access.
Deploying the oauth2-proxy service provides enhanced
security. Once the oauth2-proxy service is deployed all access to Ceph
applications must be authenticated through the external IdP by using OIDC. Authentication prevents
unauthorized users from accessing sensitive information. Users are redirected to the IdP for login
and then returned to the requested application. This setup ensures secure access and integrates
seamlessly with the Ceph management stack. The Prometheus, Alertmanager, and Grafana Ceph
applications all require authentication through the required IdP.
The oauth2-proxy service uses the OAuth Provider open-source
project, enabling easier service integration with a variety of external IdPs, providing a secure and
flexible authentication mechanism. For a full list of valid OAuth providers, see OAuth
Provider Configuration on OAuth2 Proxy Docs.
OAuth2 Proxy limitations
oauth2-proxy service does not support high availability configurations.