Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to setup authorization #56

Open
jrarmstro opened this issue Nov 15, 2023 · 1 comment
Open

Document how to setup authorization #56

jrarmstro opened this issue Nov 15, 2023 · 1 comment

Comments

@jrarmstro
Copy link

There should be more documentation explaining how to setup authorization in the OPAL client. There's plenty of documentation already available for authentication, but very little to do with authorization.

The official OPAL docs webpages should contain a section devoted to Rego authorization.

There already exists a Docker example of setting up authorization, but there's less documentation available on the Helm side. The opaStartupData option is not documented in values.yml.

A very basic Helm implementation of "authorization":

      client:
        extraEnv:
          OPAL_INLINE_OPA_CONFIG: '{"authorization": "basic", "files": ["/opt/opa/startup-data/authz.rego"]}'
        opaStartupData:
          authz.rego: |
            package system.authz
            default allow := true
@RazcoDev
Copy link
Collaborator

Hey @jrarmstro ,
Do you want to make a PR to add this docs section ? this could be great :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants