AuthScheme Parameter (Connect-GoogleSheets Cmdlet)
The type of authentication to use when connecting to Google Sheets.
Syntax
Connect-GoogleSheets -AuthScheme string
Possible Values
Token, OAuth, OAuthJWT, GCPInstanceAccount, AWSWorkloadIdentityData Type
cstr
Default Value
"OAuth"
Remarks
- Token: Set this to perform Token Based Authentication via the APIKey property.
- OAuth: Set this to perform OAuth authentication using a standard user account.
- OAuthJWT: Set this to perform OAuth authentication using an OAuth service account.
- GCPInstanceAccount: Set this to get Access Token from Google Cloud Platform instance.