Retrieve Product Environment configuration from OpenAperture.
-
Run
./envver --id=[your OAuth Client ID] --secret=[your OAuth Client Secret] --auth_url=[your OAuth access token URL] --url=[your OpenAperture Manager URL] --product=[product name] --environment=[environment name]
-
Each option defaults to an environment variable (if set):
- OA_CLIENT_ID
- OA_CLIENT_SECRET
- OA_AUTH_TOKEN_URL
- OA_URL
- OA_PRODUCT_NAME
- OA_PRODUCT_ENVIRONMENT_NAME
-
Run
./envver help
for more details. -
Exit codes:
- 1 - Missing required option or environment variable.
- 2 - Could not retrieve OAuth token from the Auth Token URL.
- 4 - The OAuth token used was rejected. Make sure your client credentials can access the specified project.
- 8 - The specified project or environment could not be found.
- 16 - Some other error occurred.