google

package module
v0.0.0-...-9fa0802 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GCP_STS_ENDPOINT         = "https://sts.googleapis.com/v1/token"
	AWS_STS_ENDPOINT         = "https://sts.amazonaws.com?Action=GetCallerIdentity&Version=2011-06-15"
	GCP_CLOUD_PLATFORM_SCOPE = "https://www.googleapis.com/auth/cloud-platform"
)

Variables

This section is empty.

Functions

func AWSTokenSource

func AWSTokenSource(tokenConfig *AwsTokenConfig) (oauth2.TokenSource, error)

Types

type AwsTokenConfig

type AwsTokenConfig struct {
	AwsCredential        awscred.Credentials
	Scopes               []string
	TargetResource       string
	Region               string
	TargetServiceAccount string
	UseIAMToken          bool
}

Jump to

Keyboard shortcuts

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