Documentation
¶
Index ¶
- func CreateTestAuthConfig() *schema.AuthConfig
- func CreateTestCredentials(accessKeyID, secretKey, region string) *types.AWSCredentials
- func CreateTestIdentity(kind string) *schema.Identity
- func CreateTestOIDCCredentials(token, provider string) *types.OIDCCredentials
- func CreateTestProvider(kind, region string) *schema.Provider
- func CreateTestWhoamiInfo(provider, identity, principal string) *types.WhoamiInfo
- func NewAuthManager(config *schema.AuthConfig, credentialStore types.CredentialStore, ...) (types.AuthManager, error)
- func TerraformPreHook(atmosConfig *schema.AtmosConfiguration, stackInfo *schema.ConfigAndStacksInfo) error
- type AuthManager
- type CredentialStore
- type Identity
- type Provider
- type Validator
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 ¶
CreateTestIdentity creates a test identity configuration.
func CreateTestOIDCCredentials ¶
func CreateTestOIDCCredentials(token, provider string) *types.OIDCCredentials
CreateTestOIDCCredentials creates test OIDC credentials.
func CreateTestProvider ¶
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
Click to show internal directories.
Click to hide internal directories.