Skip to content

Latest commit

 

History

History
52 lines (34 loc) · 1.81 KB

README.md

File metadata and controls

52 lines (34 loc) · 1.81 KB

Config Server

Job Status
Unit tests Resize icon
Integration tests Resize icon
BOSH Release Resize icon
Go Formatting Resize icon

CI : https://main.bosh-ci.cf-app.com/teams/main/pipelines/config-server

API

  • GET /v1/data/<some-key-path>

    Used by Director to retrieve a value from the config server. Value can an be any valid JSON object.

    {"path": "some-key-path", "value": "..."}  
    
  • PUT /v1/data/<some-key-path>

    Used by Director to set or update a value in the config server. Value can an be any valid JSON object.

    {"value": "..."}
    
  • POST /v1/data/<some-key-path>

    Used by Director to generate a value in the config server. The type parameter will determine what is generated. Currently password and certificate are accepted.

    {"type": "password"}
    
    {"type": "certificate", "parameters": {"common_name": "bosh.io", "alternative_names": ["blah.bosh.io", "10.0.0.6"]}}
    

See Sample Requests & Responses

See Bosh Notes for more information