AuthScheme Parameter (Connect-Gmail Cmdlet)
The type of authentication to use when connecting to Gmail.
Syntax
Connect-Gmail -AuthScheme string
Possible Values
OAuth, OAuthJWT, GCPInstanceAccount, AWSWorkloadIdentity, BasicData Type
cstr
Default Value
"OAuth"
Remarks
- OAuth: Set this to perform OAuth authentication.
- Basic: Set this to use BASIC user / password authentication (deprecated).
- OAuthJWT: Set this to perform OAuth authentication using an OAuth service account.
- GCPInstanceAccount: Set this to get Access Token from Google Cloud Platform instance.