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 reset auth command #736

merged 15 commits into from Mar 9, 2020


Copy link

@zbarahal-do zbarahal-do commented Feb 7, 2020

This PR adds a method to allow a user to reset the auth method used by a MySQL DBaaS user. This is the DOCTL implementation of digitalocean/godo#298

The new endpoint is
/databases/$UUID/users/$NAME/reset_auth and expects a body

    "mysql_settings": {
        "auth_plugin": "NEW_AUTH_TYPE",

Copy link
Contributor Author

@zbarahal-do zbarahal-do commented Feb 10, 2020

Looks like this will require a godo version bump

@zbarahal-do zbarahal-do changed the title Add reset auth command WIP: Add reset auth command Feb 11, 2020
@zbarahal-do zbarahal-do changed the title WIP: Add reset auth command Add reset auth command Mar 4, 2020
Copy link

@bentranter bentranter left a comment

One small typo, after that I'll approve and merge

commands/databases.go Outdated Show resolved Hide resolved
@bentranter bentranter merged commit edf963a into digitalocean:master Mar 9, 2020
2 checks passed
@zbarahal-do zbarahal-do deleted the reset_db_user_auth branch Mar 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

Successfully merging this pull request may close these issues.

None yet

2 participants