Cmdlets for Google Spanner

Build 24.0.9060

AuthScheme Parameter (Connect-GoogleSpanner Cmdlet)

The type of authentication to use when connecting to Google Spanner.

Syntax

Connect-GoogleSpanner -AuthScheme string

Possible Values

OAuth, OAuthJWT, GCPInstanceAccount, AWSWorkloadIdentity

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

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