Skip to content

mw cloudvps auth login

Releasev0.35.0 · cfeceb67

mw cloudvps auth login [flags]

Validate and save OpenStack application credentials. Missing values are prompted for in a terminal, with the secret hidden. Create credentials for the selected project at https://horizon.wikimedia.org/identity/application_credentials/. Use –replace to rotate an existing profile to a new credential for the same project. The destination is verified and saved before the old local entry is cleaned up; server-side credentials are not revoked.

--default
Make this profile the default (otherwise ask before switching an existing default)
--id <string>
Application credential ID (prompts if omitted)
--insecure-storage
Store credentials in the private plaintext configuration
--project <string>
Project name (uses cloud_vps.default_project, otherwise prompts)
--provider <string>
Override the credential provider (keyring, windows-credential-manager, keepassxc or plaintext)
--replace
Replace the existing profile's application credential for the same project
--secret <string>
Application credential secret (prompts with hidden input if omitted)
--secret-stdin
Read the application secret from stdin
--help
Help for this command
--no-interaction
Do not ask any interactive questions
--profile <string>
Saved Cloud VPS credential profile (login defaults to the project name)
-v, --verbose <count>
Increase output verbosity. Example: --verbose=2 or -vv
Terminal window
mw cloudvps auth login --project mwcli
mw cloudvps auth login --project mwcli --profile mwcli-readonly --id APPLICATION_CREDENTIAL_ID --secret-stdin
Report an issue with this page

Report a documentation issue

The report includes this page’s link, section and documentation version.

Review and submit on Phabricator, or run the command using your saved CLI profile. The command asks before creating the task.