Skip to content

A utility for retrieving product/environment configuration from the OpenAperture manager

Notifications You must be signed in to change notification settings

OpenAperture/envver

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Envver

Build Status

Retrieve Product Environment configuration from OpenAperture.

Usage

  • 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.

About

A utility for retrieving product/environment configuration from the OpenAperture manager

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 97.7%
  • Shell 2.3%