config

package
v0.0.0-...-5561d07 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 16, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccessToken

func GetAccessToken(ctx *pulumi.Context) string

A temporary [OAuth 2.0 access token] obtained from the Google Authorization server, i.e. the `Authorization: Bearer` token used to authenticate HTTP requests to Google Admin SDK APIs. This is an alternative to `credentials`, and ignores the `oauth_scopes` field. If both are specified, `access_token` will be used over the `credentials` field.

func GetCredentials

func GetCredentials(ctx *pulumi.Context) string

Either the path to or the contents of a service account key file in JSON format you can manage key files using the Cloud Console). If not provided, the application default credentials will be used.

func GetCustomerId

func GetCustomerId(ctx *pulumi.Context) string

The customer id provided with your Google Workspace subscription. It is found in the admin console under Account Settings.

func GetImpersonatedUserEmail

func GetImpersonatedUserEmail(ctx *pulumi.Context) string

The impersonated user's email with access to the Admin APIs can access the Admin SDK Directory API. `impersonated_user_email` is required for all services except group and user management.

func GetOauthScopes

func GetOauthScopes(ctx *pulumi.Context) string

The list of the scopes required for your application (for a list of possible scopes, see [Authorize requests](https://developers.google.com/admin-sdk/directory/v1/guides/authorizing))

func GetServiceAccount

func GetServiceAccount(ctx *pulumi.Context) string

The service account used to create the provided `access_token` if authenticating using the `access_token` method and needing to impersonate a user. This service account will require the GCP role `Service Account Token Creator` if needing to impersonate a user.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL