Documentation ¶
Index ¶
Constants ¶
View Source
const (
RotatingSharedCredentialsProviderName = "RotatingSharedCredentialsProvider"
)Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RotatingSharedCredentialsProvider ¶
type RotatingSharedCredentialsProvider struct { // contains filtered or unexported fields }
RotatingSharedCredentialsProvider is a provider that retrieves credentials via the shared credentials provider, and adds the functionality of expiring and re-retrieving those credentials from the file.
func NewRotatingSharedCredentialsProvider ¶
func NewRotatingSharedCredentialsProvider() *RotatingSharedCredentialsProvider
NewRotatingSharedCredentials returns a rotating shared credentials provider with default values set.
func (*RotatingSharedCredentialsProvider) Retrieve ¶
func (p *RotatingSharedCredentialsProvider) Retrieve() (credentials.Value, error)
Retrieve will use the given filename and profile and retrieve AWS credentials.
Click to show internal directories.
Click to hide internal directories.