Skip to content

user cannot assign roles or set a password #23

Description

@jorisvilardell

Is your feature request related to a problem?

user offers create, get, list and delete only. There is no way to assign a role or to set a password, so a user created with the CLI stays unusable until someone opens the console. That breaks any non-interactive provisioning path.

Desired solution

ferris-ctl user set-password  <username> [--temporary] [--password <value> | --stdin]
ferris-ctl user assign-role   <username> <role> [--client <client_id>]
ferris-ctl user remove-role   <username> <role> [--client <client_id>]
ferris-ctl user roles         <username>

Reading the password from stdin matters as much as the flag: a password passed as an argument lands in the shell history and in the process list.

Environment

ferris-ctl 0.2.3, FerrisKey server 0.7.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions