login
This topic describes the command-line arguments and API parameters available for the login noun in the BMC Cloud Lifecycle Management SDK.
Use login to Initiate a new session to a specified server with specified credentials. This discards the previous session.
Command-line syntax
python com/bmc/cloud/sdk/commandline/clmcmd.py login [-h] --url URL --user USERNAME --password PASSWORD
API syntax
login(url=None, userName=None, password=None)
Command-line argument | API parameter | Description | Required? |
|---|---|---|---|
-url | url | URL of the BMC Cloud Lifecycle Management API. | Yes |
-user | userName | User name to log in. | Yes |
-password | password | Password for the specified user. | Yes |
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*