Skip to content

Review vault placement in configuration syntax #6

Open

Description

@jfallows

Currently vault is a top-level property of binding, even though it is not used by most binding types.

"tls0":
{
    "type" : "tls",
    "kind": "server",
    "vault": "server",
    "options":
    {
        "keys": [ "localhost" ],
        "sni": [ "localhost" ],
        "alpn": [ "echo" ]
    }
}

Consider moving to a binding-specific option instead, giving:

"tls0":
{
    "type" : "tls",
    "kind": "server",
    "options":
    {
        "vault": "server",
        "keys": [ "localhost" ],
        "sni": [ "localhost" ],
        "alpn": [ "echo" ]
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementneeds_triage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions