Skip to content

Instantly share code, notes, and snippets.

@daneb
Created July 20, 2016 08:29
Show Gist options
  • Save daneb/9e0a5e5362bbda27b15476332e413320 to your computer and use it in GitHub Desktop.
Save daneb/9e0a5e5362bbda27b15476332e413320 to your computer and use it in GitHub Desktop.
Configuration Service
CFGSRV_PROVIDER_ADDRESS: 'https://vault.auto-h.net'
CFGSRV_IDENTIFIER: 'shield'
CFGSRV_TOKEN: '<revision-from-configuration-service-ui>'
CFGSRV_PROVIDER: 'vault'
IDENTIFIER: 'shield'
SESSION_KEY: 'session_key_shared_amongst_application_instances'
SESSION_SECRET: 'strong_secret_shared_amongst_application_instances'
RACK_ENV: 'development'
SERVICE_REGISTRY: 'http://service-registry.auto-h.net:8080'
iut = SoarEnvironment::Environment.new('config/environment.yml')
environment = iut.load_environment
context = ConfigurationService::Factory::EnvironmentContext.new(environment)
configuration_service = ConfigurationService::Factory.create_client(context)
result = configuration_service.request_configuration
config = result.data
@daneb
Copy link
Author

daneb commented Jul 20, 2016

<Vault::HTTPClientError: The Vault server at `https://vault.auto-h.net' responded with a 403.

Any additional information the server supplied is shown below:

  • permission denied

Please refer to the documentation for help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment