Chapter 17. Using RHACS with GitOps


You can configure key RHACS attributes by using GitOps workflows by storing the values as code and applying them to RHACS declaratively.

RHACS provides the following two different mechanisms to control two different sets of attributes:

  • Declarative configuration is a lightweight mechanism that uses config maps and secrets to configure mostly authentication and authorization resources.
  • Policy as code leverages a RHACS-provided custom resource (CR), along with its controller, to manage RHACS policies.

You can configure the following resources by using the RHACS declarative configuration method:

  • Authentication providers
  • Roles
  • Permission sets
  • Notifiers
  • Access scopes

To configure these resources, you create YAML files that contain configuration information. These files are used to create a ConfigMap or Secret that is added to RHACS by using a mount point during installation of the RHACS Central resource.

17.2. Configuration by using policy as code

You can create and manage policies as code by authoring policies as Kubernetes custom resources (CRs), and then applying them to the RHACS Central namespace by using a GitOps tool such as OpenShift GitOps, which is built on ArgoCD.

Back to top
Red Hat logoGithubredditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust. Explore our recent updates.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

Theme

© 2025 Red Hat