Trigger the OAuth authorization flow for a named auth entry. This opens your browser for authentication and saves the access token to the configured token file.Documentation Index
Fetch the complete documentation index at: https://docs.cloudstic.com/llms.txt
Use this file to discover all available pages before exploring further.
Usage
Options
Auth reference name. Must match an existing entry in the profiles file.
Path to the profiles YAML file.
Examples
Output
On success:Credential Resolution
auth login resolves credentials in this order:
- Credentials stored in the auth entry (e.g.,
google_credentialspath) - Environment variables (
GOOGLE_APPLICATION_CREDENTIALS,ONEDRIVE_CLIENT_ID) - Built-in OAuth credentials (default)
See Also
- cloudstic auth new: Create an auth entry
- cloudstic auth list: List auth entries
- Custom OAuth Clients: Use your own OAuth credentials
- Using Profiles: Complete profiles guide