Skip to content

Allows TLS secure mode to be set via a global parameter #513

Open
@julianleonard123

Description

@julianleonard123

There are three pieces of info that need to be provided to the zed client for it to make a successful request to the server: endpoint , token, tls mode.

Each of these can be set on the context of course. But it is not possible to set the tls mode to secure with a global flag, and thus override the context. (Or run a command if no context has been set at all). It is possible to pass the --insecure flag but there is no corresponding way to unset that flag.

i.e. you can run a command like this which doesn't depend on your context at all, and it works fine for localhost/plain text connections

zed <command> --endpoint <endpoint> --token <token> --insecure

but there is no corresponding:

zed <command> --endpoint <endpoint> --token <token> --insecure false

This makes it impossible to run a command, via TLS, that doesn't depend on the context being set prior to the command.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions