forked from open-policy-agent/opa
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow input as PEM strings to x509 built-ins
In the PR discussion here: open-policy-agent#2564 (comment) we decided that PEM string input was also a valid use case to support. This change allows string PEM data to be passed as input to both cert and csr functions. It also moves the cert and csr functions to be co-located. Signed-off-by: Charlie Egan <charlieegan3@users.noreply.github.com>
- Loading branch information
1 parent
061f408
commit 01b6e21
Showing
3 changed files
with
183 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.