You can use the content of this repository to leverage the Open Policy Agent (https://www.openpolicyagent.org/) for cloud foundry environments. If offers runtime support to make calls to the open policy server from a CF application and support to manage and distribute Open Policy Agent bundles.
Buildpack prints a warning that has a typo in the advice:
**WARNING** identity service binding does not contain client certificate. Please use binding parameter {"credential_type":"X509_GENERATED"}
It should be
{"credential-type":"X509_GENERATED"}
(with an-
instead of_
).See here:
https://github.com/SAP/cloud-authorization-buildpack/blob/5734f5694b51c66e46d2cec0cc506ebd679d7245/pkg/supply/services.go#L97