Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSCredentialProvider ¶
type AWSCredentialProvider interface {
Credentials() (*AWSCredentials, error)
}
func NewCredentialProvider ¶
func NewCredentialProvider(access, secret string) AWSCredentialProvider
type AWSCredentials ¶
func (*AWSCredentials) Credentials ¶
func (creds *AWSCredentials) Credentials() (*AWSCredentials, error)
type EnvironmentCredentialProvider ¶
type EnvironmentCredentialProvider struct{}
func NewEnvironmentCredentialProvider ¶
func NewEnvironmentCredentialProvider() *EnvironmentCredentialProvider
func (EnvironmentCredentialProvider) Credentials ¶
func (ecp EnvironmentCredentialProvider) Credentials() (*AWSCredentials, error)
Credentials pulls the credentials from common environment variables.
type NoCredentialProviderError ¶
type NoCredentialProviderError struct{}
func (NoCredentialProviderError) Error ¶
func (ncp NoCredentialProviderError) Error() string
type RefreshableAWSCredentialProvider ¶
type RefreshableAWSCredentialProvider interface { AWSCredentialProvider Refresh() NeedsRefresh() bool }
Click to show internal directories.
Click to hide internal directories.