Ce contenu n'est pas disponible dans la langue sélectionnée.

Chapter 3. REST API authentication configurations


Use REST API authentication configurations to secure programmatic interactions with the OpenShift Lightspeed Service.

You must configure the appropriate authentication modules and follow security guidelines to manage service access in production and development environments.

3.1. REST API authentication configurations

Configure REST API authentication for OpenShift Lightspeed by using the authentication_config.module parameter. Selecting the correct module ensures authorized access and maintains environment security.

The OpenShift Lightspeed REST API requires authentication by default. You can define the authentication behavior by using the authentication_config.module parameter in your YAML configuration file.

The following modules are supported for the authentication_config.module parameter:

k8s
The default authentication module. This module uses Kubernetes TokenReview and SubjectAccessReview to validate authentication.
noop
Disables cluster validation and provides no-operation authentication. This logs insecure-mode warnings at startup.
noop-with-token
Disables cluster validation but still requires a Bearer token in the Authorization header.
Warning

Setting the authentication module to noop or setting dev_config.disable_auth to true bypasses all access control. Do not use these settings in a production environment.

Red Hat logoGithubredditYoutubeTwitter

Apprendre

Essayez, achetez et vendez

Communautés

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez le Blog Red Hat.

À propos de la documentation Red Hat

Legal Notice

Theme

© 2026 Red Hat
Retour au début