authhelpers

package
v3.115.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoogleCredentialsMux

func GoogleCredentialsMux(ctx context.Context) (*blob.URLMux, error)

func ResolveGoogleCredentials

func ResolveGoogleCredentials(ctx context.Context, scope string) (*google.Credentials, error)

ResolveGoogleCredentials loads the google credentials using the pulumi-specific logic first, falling back to the DefaultCredentials resoulution after.

Types

type GoogleCredentials

type GoogleCredentials struct {
	PrivateKeyID string `json:"private_key_id"`
	PrivateKey   string `json:"private_key"`
	ClientEmail  string `json:"client_email"`
	ClientID     string `json:"client_id"`
}

Jump to

Keyboard shortcuts

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