Skip to content

Root user cannot rotate passwords #3204

@martelli

Description

@martelli

Is your feature request related to a problem? Please describe.

As documented in the tests, the principals rotate-credentials command is "self" privilege.

But the cli documentation shows an explicit principal is required, inducing one to think that the root user should be able to request a credential rotation for other users.

Any particular reason for not allowing the root user to perform credential rotation for other users?

Describe the solution you'd like

The root principal should be allowed to rotate credentials of other principals.

This would make it simpler in the case a regular principal needs new credentials after losing the original ones, as we wouldn't need to generate the ids and secrets ourselves.

Describe alternatives you've considered

We could always use the principals reset, but this requires knwowing the id and secret patterns in order to generate valid values.

Additional context

No response

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