AuthScheme Parameter (Connect-GoogleDrive Cmdlet)
The type of authentication to use when connecting to Google Drive.
Syntax
Connect-GoogleDrive -AuthScheme string
Possible Values
OAuth, OAuthJWT, GCPInstanceAccount, AWSWorkloadIdentityData Type
cstr
Default Value
"OAuth"
Remarks
- 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.
- AWSWorkloadIdentity: Set this to authenticate using Workload Identity Federation. The cmdlet authenticates to AWS according to the AWSWorkloadIdentityConfig and provides Google Security Token Serivce with an authentication token. The Google STS validates this token and produces an OAuth token that can access Google services.