These methods allow you to manage OpenStack users for your account.
This functionality is not available through the OpenStack Identity API.
Create a new OpenStack user.
Parameters: |
|
---|---|
Returns: | a dictionary as described in openstack.user.info(). |
The user name must be unique for your account - if not it returns ApiErrorNotUnique.
User name can only contain numbers, letters, dots, dashes and underscores, and can’t start with a dot. “@<account-name>” will be appended to the user name for use in the Horizon control panel and OpenStack APIs.
Delete an OpenStack user.
Parameters: | username (String) – The username Username can only contain numbers, letters, dots, dashes and underscores, and can’t start with a dot. Ensure this value has at most 50 characters. |
---|---|
Returns: | A dictionary as described in job.status(). |
Disable a OpenStack user.
A disabled user can’t login to any OpenStack projects or use the OpenStack APIs.
Ensure that openstack.sync_users() is called in order to affect the change in the cloud.
Parameters: | username (String) – The username Username can only contain numbers, letters, dots, dashes and underscores, and can’t start with a dot. Ensure this value has at most 50 characters. |
---|
Enable an OpenStack user.
Ensure that openstack.sync_users() is called in order to affect the change in the cloud.
Parameters: | username (String) – The username Username can only contain numbers, letters, dots, dashes and underscores, and can’t start with a dot. Ensure this value has at most 50 characters. |
---|
Information for an existing OpenStack user.
Parameters: | username (String) – The username Username can only contain numbers, letters, dots, dashes and underscores, and can’t start with a dot. Ensure this value has at most 50 characters. |
---|---|
Returns: | a dictionary with the following keys:
|
List all existing OpenStack users for an account.
Returns: | a list of dictionaries where each dictionary is as described in openstack.user.info(). |
---|
The returned user name must be prepended to ‘@<account-name>’ to get the keystone username for authentication purposes in the Horizon control panel or OpenStack APIs (e.g. the username alice for account aliciaa would be alice@aliciaa).
Set a new password for an existing OpenStack user.
Parameters: |
|
---|---|
Returns: | A dictionary as described in job.status(). |