Skip to content

cli/connect: make join warn/error the user if the target directory already contains certs #64944

Open
@knz

Description

@knz

Currently, the connect join command consumes the join token before it realizes that it cannot write the files to the output directory because the directory is invalid or already contains certs.

It would be good for UX that the validity of the target directory be checked before the join command is executed.

Jira issue: CRDB-7357
Epic: CRDB-6663

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-authenticationPertains to authn subsystemsA-securityC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)S-3-ux-surpriseIssue leaves users wondering whether CRDB is behaving properly. Likely to hurt reputation/adoption.T-server-and-securityDB Server & Security

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions