Skip to content

Allow Http send to pass bearer token read from file #8058

@nishanth007joy

Description

@nishanth007joy

What is the underlying problem you're trying to solve?

Currently bearer token to pass when calling an http endpoint from rego is not allowed to read from a mounted file. There are systems where different methods of authentication channels where a token will rotated to a mounted volume and we can read it inside OPA to pass a bearer token.

By making this change, what are you hoping to improve or fix?

This will support scenario where a rotatable token be available to read from a mount file than an environment variable so changed made to token be available in OPA without a restart.

Why would this change make the OPA experience better?

Better integration.

Are there any current solutions that are inefficient or frustrating?

Describe the ideal solution

Allow http send to read bearer token from a mount volume like we can read from an environment variable.

Describe a "Good Enough" solution

Allow http send to read bearer token from a mount volume like we can read from an environment variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions