CLI
Our CLI provides a convinient way to upload your policies to the OPA server. Aditionally we store a config.json file in your S3 bucket to coordinate the policies in the proxy. The cli expects the following environment variables to be set:
S3_URLS3_ACCESS_KEY_IDS3_SECRET_ACCESS_KEYS3_BUCKET_NAMEOPA_SERVER_ENDPOINT
The environment variables can also be set in a .env file in the current working directory.
Installation
npm install -g s3-guardUsage
s3-guard --config path/to/config.yml