Skip to content

CLI: room for improvement with security of authentication credentials within the shell #417

@jakedoublev

Description

@jakedoublev

https://smallstep.com/blog/command-line-secrets/

Acceptance Criteria

  1. os.Args are sanitized when we receive --with-client-creds JSON
  2. os.Args are sanitized when we receive --with-access-token
  3. new command is added --with-access-token-file to read from a file and avoid leaking the token itself into the shell environment, process, or history

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