googlecredentials

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccessScopes

func AccessScopes() []string

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func NewConfig

func NewConfig(opts ConfigOptions) (*Config, string, error)

func (*Config) Get

func (c *Config) Get(ctx context.Context, credFile string, googleServiceAccountEmail *string) (*google.Credentials, error)

func (*Config) WorkloadIdentityProviderAudience

func (c *Config) WorkloadIdentityProviderAudience() string

type ConfigOptions

type ConfigOptions struct {
	WorkloadIdentityProvider string
}

Jump to

Keyboard shortcuts

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