osc-cli icon indicating copy to clipboard operation
osc-cli copied to clipboard

Handle new open-source standard for config.json

Open outscale-frl opened this issue 4 years ago • 0 comments

Now we just handle the new folder with .osc/config.json but we need to be compatible with the new config.jsonstandard:

{
  "default": {
    "access_key": "F4K4T706S9XKGEXAMPLE",
    "secret_key": "E4XJE8EJ98ZEJ18E4J9ZE84J19Q8E1J9S87ZEXAMPLE",
    "x509_client_cert": "/etc/secret/client.crt",
    "x509_client_key": "/etc/secret/client.key",
    "protocol": "https",
    "method": "post",
    "region": "eu-west-2",
    "endpoints": {
      "api": "api.eu-west-2.outscale.com/api/v1",
      "oos": "oos.eu-west-2.outscale.com"
    }
  }
}

outscale-frl avatar Apr 29 '21 10:04 outscale-frl