Skip to content
This repository was archived by the owner on Apr 28, 2026. It is now read-only.
This repository was archived by the owner on Apr 28, 2026. It is now read-only.

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

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

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions