auth

package
v1.198.0-test.5 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: Apache-2.0 Imports: 21 Imported by: 1 module, 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

This section is empty.

Variables

This section is empty.

Functions

func CreateTestAuthConfig

func CreateTestAuthConfig() *schema.AuthConfig

CreateTestAuthConfig creates a test auth configuration.

func CreateTestCredentials

func CreateTestCredentials(accessKeyID, secretKey, region string) *types.AWSCredentials

CreateTestCredentials creates test AWS credentials.

func CreateTestIdentity

func CreateTestIdentity(kind string) *schema.Identity

CreateTestIdentity creates a test identity configuration.

func CreateTestOIDCCredentials

func CreateTestOIDCCredentials(token, provider string) *types.OIDCCredentials

CreateTestOIDCCredentials creates test OIDC credentials.

func CreateTestProvider

func CreateTestProvider(kind, region string) *schema.Provider

CreateTestProvider creates a test provider configuration.

func CreateTestWhoamiInfo

func CreateTestWhoamiInfo(provider, identity, principal string) *types.WhoamiInfo

CreateTestWhoamiInfo creates test whoami information.

func NewAuthManager

func NewAuthManager(
	config *schema.AuthConfig,
	credentialStore types.CredentialStore,
	validator types.Validator,
	stackInfo *schema.ConfigAndStacksInfo,
) (types.AuthManager, error)

NewAuthManager creates a new AuthManager instance.

func TerraformPreHook

func TerraformPreHook(atmosConfig *schema.AtmosConfiguration, stackInfo *schema.ConfigAndStacksInfo) error

TerraformPreHook runs before Terraform commands to set up authentication.

Types

type AuthManager

type AuthManager = types.AuthManager

type CredentialStore

type CredentialStore = types.CredentialStore

type Identity

type Identity = types.Identity

type Provider

type Provider = types.Provider

type Validator

type Validator = types.Validator

Directories

Path Synopsis
cloud
aws
identities
aws
providers
aws
Package types is a generated GoMock package.
Package types is a generated GoMock package.

Jump to

Keyboard shortcuts

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