Documentation
¶
Overview ¶
Package infra provides AWS client initialization.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
LoadConfig loads the default AWS configuration.
func NewParamClient ¶
NewParamClient creates a new SSM Parameter Store client using the default configuration.
func NewSecretClient ¶
func NewSecretClient(ctx context.Context) (*secretsmanager.Client, error)
NewSecretClient creates a new Secrets Manager client using the default configuration.
Types ¶
type AWSIdentity ¶ added in v0.4.8
AWSIdentity contains AWS account ID, region, and profile name.
func GetAWSIdentity ¶ added in v0.4.8
func GetAWSIdentity(ctx context.Context) (*AWSIdentity, error)
GetAWSIdentity retrieves the current AWS account ID, region, and profile name.
Click to show internal directories.
Click to hide internal directories.