credentials

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2026 License: Apache-2.0 Imports: 2 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	AWSAccessKeyID     = "AWS_ACCESS_KEY_ID"
	AWSSecretAccessKey = "AWS_SECRET_ACCESS_KEY"
	AWSSessionToken    = "AWS_SESSION_TOKEN"
)

envvar consts

View Source
const (
	AzureClientID     = "AZURE_CLIENT_ID"
	AzureClientSecret = "AZURE_CLIENT_SECRET"
)

envvar consts

View Source
const (
	CorsoPassphrase = "CORSO_PASSPHRASE"
)

envvar consts

Variables

This section is empty.

Functions

func GetAWSEnvs

func GetAWSEnvs() map[string]string

Types

type AWS

type AWS struct {
	AccessKey    string // required
	SecretKey    string // required
	SessionToken string // required
}

AWS aggregates aws credentials from flag and env_var values.

func GetAWS

func GetAWS(override map[string]string) AWS

GetAWS is a helper for aggregating aws secrets and credentials.

func (AWS) Validate

func (c AWS) Validate() error

type Corso

type Corso struct {
	CorsoPassphrase string // required
}

Corso aggregates corso credentials from flag and env_var values.

func (Corso) Validate

func (c Corso) Validate() error

type M365

type M365 struct {
	AzureClientID     string
	AzureClientSecret string
}

M365 aggregates m365 credentials from flag and env_var values.

func GetM365

func GetM365() M365

M365 is a helper for aggregating m365 secrets and credentials.

func (M365) Validate

func (c M365) Validate() error

Jump to

Keyboard shortcuts

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