The watcherclient.client
Module¶
-
watcherclient.client.
get_client
(api_version, **kwargs)[source]¶ Get an authenticated client, based on the credentials in args.
Parameters: - api_version – the API version to use. Valid value: ‘1’.
- kwargs – keyword args containing credentials, either: * os_auth_token: pre-existing token to re-use * watcher_url: watcher API endpoint or: * os_username: name of user * os_password: user’s password * os_auth_url: endpoint to authenticate against * insecure: allow insecure SSL (no cert verification) * os_tenant_{name|id}: name or ID of tenant