Articles in this section

Policy Designer - Releases

Published:

Release Policy Store

This is the most useful feature of Agama Lab. It will generate a CJAR policy store zip file, containing all your policies, schemas, default entities, and trusted issuers files. You need to use CJAR to initialize Cedarling on your application.

release.png

There are 2 types:

1. Pre-release

Use this type when you want to test your policies. It will be pre-released to your GitHub repository, where you can get .cjar, .cjar.sha256sum, and .cjar.sigstore.json.

pre-release.png

2. Stable release

When your policy store is ready for production, use a stable release. You need to merge all your agama-lab-policy-designer branch changes to the main branch to release a stable version. You can use the Agama Lab Pull Request feature or the GitHub Pull Request feature to merge changes.

After release, you will get the same files as in the pre-release.

release.png

Verify CJAR

It is always a good idea to verify your CJAR zip file. You can find the verification steps in the Release pop-up.

Steps to verify CJAR:

  1. Install Cosign
  2. Download your .CJAR and signature files from GitHub releases.
  3. Run the following command to verify your CJAR file:
$ cosign verify-blob <your_cjar>.cjar \
--bundle <your_cjar>.cjar.sigstore.json \
--certificate-identity asset-signer@dev-gluu-cloud-platform.iam.gserviceaccount.com \
--certificate-oidc-issuer https://accounts.google.com
Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Access denied
Access denied