Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose resetCredentials via api to allow root user to reset credentials for one time use for an existing principal. #1047

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

mansehajsingh
Copy link

  • Exposes the resetCredentials operation via the api
  • Root principal or an individual principal can now call reset for that principal to obtain a new secret pair that puts PRINCIPAL_CREDENTIAL_ROTATION_REQUIRED_STATE on principal's properties
  • Principal can only use these credentials to call rotateCredentials to obtain new client id and secret that can now be used to exercise normal privileges
  • Needs ENFORCE_PRINCIPAL_CREDENTIAL_ROTATION_REQUIRED_CHECKING to be set to true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant