Cmdlets for Gmail

Build 24.0.9060

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, Basic

Data 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.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060