-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Description
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.