troveclient.v1.users.User(manager, info, loaded=False)¶Bases: troveclient.base.Resource
A database user.
troveclient.v1.users.Users(api)¶Bases: troveclient.base.ManagerWithFind
Manage Users resources.
change_passwords(instance, users)¶Change the password for one or more users.
create(instance, users)¶Create users with permissions to the specified databases.
delete(instance, username, hostname=None)¶Delete an existing user in the specified instance.
get(instance, username, hostname=None)¶Get a single User from the instance’s Database.
| Return type: | User. |
|---|
grant(instance, username, databases, hostname=None)¶Allow an existing user permissions to access a database.
list(instance, limit=None, marker=None)¶Get a list of all Users from the instance’s Database.
| Return type: | list of User. |
|---|
list_access(instance, username, hostname=None)¶Show all databases the given user has access to.
revoke(instance, username, database, hostname=None)¶Revoke from an existing user access permissions to a database.
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.