osmo login#
usage: osmo login [-h] [--device-endpoint DEVICE_ENDPOINT]
[--method {code,password,token,dev}]
[--username USERNAME]
[--password PASSWORD | --password-file PASSWORD_FILE]
[--token TOKEN | --token-file TOKEN_FILE]
url
Positional Arguments#
urlThe url of the osmo server to connect to
Named Arguments#
--device-endpointThe url to use to completed device flow authentication. If not provided, it will be fetched from the service.
--methodPossible choices: code, password, token, dev
code: Get a device code and url to log in securely through browser. password: Provide username and password directly through CLI. token: Read an idToken directly from a file.
Default:
'code'--usernameUsername if logging in with credentials. This should only be used for service accounts that cannot authenticate via web browser.
--passwordPassword if logging in with credentials.
--password-fileFile containing password if logging in with credentials.
--tokenToken if logging in with credentials.
--token-fileFile containing the refresh token URL, with all parameters appended.