Create or update a named auth entry for cloud source authentication (Google Drive or OneDrive). Auth entries store OAuth token file paths and optional credentials, and can be shared across multiple profiles.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.
Cloud provider:
google or onedrive.Google Options
Path to Google service account credentials JSON file. Optional. If not provided, Cloudstic uses the built-in OAuth flow.
Path to Google OAuth token file. If not provided, defaults to
~/.config/cloudstic/tokens/google-<name>_token.json.OneDrive Options
OneDrive OAuth client ID. Optional. If not provided, Cloudstic uses built-in credentials.
Path to OneDrive OAuth token file. If not provided, defaults to
~/.config/cloudstic/tokens/onedrive-<name>_token.json.General Options
Path to the profiles YAML file.
Examples
After Creating an Auth Entry
Run the OAuth login flow to obtain a token:See Also
- cloudstic auth login: Run the OAuth login flow
- cloudstic auth list: List auth entries
- cloudstic auth show: Show auth entry details
- Using Profiles: Complete profiles guide