config google¶
aeat config google credential-source set¶
Persist the active profile’s Google credential-source selection
Parameters
- --kind
Credential source: oauth_desktop (default, interactive consent) or service_account_impersonation (shared SA via ADC + IAM) Option, required.
- --target-principal
Service-account email to impersonate (required for –kind service_account_impersonation) Option, optional.
- --scope
OAuth scope requested for the impersonated token (repeatable; defaults to the Sheets/Drive data-access scopes) Option, optional.
- --delegate
Chained impersonation delegate service-account email (repeatable) Option, optional.
- --subject
Workspace user email to impersonate via domain-wide delegation (optional) Option, optional.
- --lifetime-seconds
Requested impersonated token lifetime in seconds (defaults to Google’s 3600s ceiling) Option, optional.
aeat config google credential-source view¶
Show the active profile’s saved Google credential-source selection.
aeat config google folder set¶
Bind a Google Drive folder id to the active profile
Parameters
- folder_id
Google Drive folder id Argument, required.
aeat config google folder view¶
Show the Google Drive root folder configured for the active profile.
aeat config google login¶
Run the OAuth consent flow (or refresh an existing credential)
Parameters
- --refresh-only
Skip the consent screen and refresh an existing credential only Option, optional.
aeat config google logout¶
Clear the refresh token and metadata; preserve the registered client
aeat config google probe¶
Probe the configured Google Drive folder for read/write access
Parameters
- –read-only/–no-read-only
Probe Google Drive in read-only mode (no writes attempted) Option, optional.
aeat config google register¶
Register a Cloud Console Desktop OAuth client JSON for the active profile
Parameters
- --client-json
Path to a Cloud Console Desktop OAuth client JSON file Option, required.
aeat config google status¶
Show the current Google OAuth session state for the active profile