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

Add capability to rotate own API key #79

Open
1 task
sgnn7 opened this issue Oct 29, 2020 · 0 comments
Open
1 task

Add capability to rotate own API key #79

sgnn7 opened this issue Oct 29, 2020 · 0 comments

Comments

@sgnn7
Copy link
Contributor

sgnn7 commented Oct 29, 2020

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

Due to the server-side change to not allow changing of the current user's API key via token, our use of RotateAPIKeyRequest will fail when the target roleID is the current user. This story tracks the addition back of that capability via an API call but using username/api_key instead of the old username/api_token auth.

Describe the solution you would like

AC:

  • There is a publicly usable function in this API to rotate the current user's API key

Describe alternatives you have considered

It's possible that we may be able to use the same current API method for this but have it pass in the API key when using this specific target endpoint.

Additional context

Connected to: #78

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

No branches or pull requests

1 participant