Skip to content

[Bug]: Can't authenticate with x5c provisioner to step ca admin #860

@miguelangel-nubla

Description

@miguelangel-nubla

Steps to Reproduce

pi@tinyca:~$ step ca admin list
No admin credentials found. You must login to execute admin commands.
✔ Please enter admin name/subject (e.g., name@example.com): step
✔ Provisioner: provisioner1 (X5C)
provisioner type 'X5C' requires the '--x5c-cert' flag
pi@tinyca:~$ step ca admin list --x5c-cert
Incorrect Usage: flag provided but not defined: -x5c-cert

Your Environment

  • step CLI Version - 0.23.2

Expected Behavior

Authenticate using X5C credentials, as you can even create a Super Admin with that provisioner:

SUBJECT PROVISIONER     TYPE
step    admin (JWK)    SUPER_ADMIN
step    provisioner1 (X5C)      SUPER_ADMIN

Actual Behavior

throws:
provisioner type 'X5C' requires the '--x5c-cert' flag

Additional Context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugneeds triageWaiting for discussion / prioritization by team

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions