Documentation
¶
Overview ¶
Package awsprofile provides utilities for creating and deleting AWS Profile (i.e., credentials & config files).
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidCredentials = errors.New("aws-profile: Invalid AWS Credentials")
ErrInvalidCredentials is returned when given AWS Credentials contains invalid characters.
Functions ¶
Types ¶
type Credentials ¶
Credentials represents long-term AWS credentials used to create an AWS Profile.
type Profile ¶
type Profile struct {
// Name is the AWS profile name
Name string
// ConfigFilename is the name of the AWS config file
ConfigFilename string
// CredentialsFilename is the name of the AWS credentials file
CredentialsFilename string
}
Profile represents an AWS profile with it's credentials and config filenames.
type Settings ¶
type Settings struct {
// Basepath is the directory path where AWS profile files will be created
Basepath string
// Prefix is prepended to generated filenames for uniqueness
Prefix string
// FilePerm specifies the file permissions for created profile files
FilePerm fs.FileMode
}
Settings contains configuration for AWS profile creation and management.
Directories
¶
| Path | Synopsis |
|---|---|
|
Package awsprofiletest provides testing utilities for AWS Profiles.
|
Package awsprofiletest provides testing utilities for AWS Profiles. |
Click to show internal directories.
Click to hide internal directories.