Skip to content
This repository was archived by the owner on May 11, 2023. It is now read-only.
This repository was archived by the owner on May 11, 2023. It is now read-only.

rad auth non-interactive output #269

@gsaslis

Description

@gsaslis

In the IDE plugin, we want to show the user the list of identities.

rad auth returns the list of identities, but in interactive mode only - making it unsuitable for wrapping in other scripts. Our only option currently (to the best of our knowledge) is to read the platform-dependent filesystem directory where keys are stored. This is ugly, error-prone and introduces another dependency on our side that we really don't want to have: the way keys are stored in the filesystem. That feels like an internal implementation detail of the rad cli that we really shouldn't care about.

Could an option be added to rad auth (e.g. --list | -l ) such that it only returns the list of identities / names / profile IDs ?

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