Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2015 Changes in this version + const ServiceName + const SessionServiceName + var DefaultProfileConfig = &ProfileConfig + type Credentials struct + AccessKeyId string + SecretKey string + func (c Credentials) Environ() []string + type KeyringSessionProvider struct + CredsFunc func() (Credentials, error) + Keyring keyring.Keyring + func (ksp *KeyringSessionProvider) Session(conf SessionConfig) (SessionCredentials, error) + type Profile struct + MFASerial string + Name string + Region string + RoleARN string + SourceProfile *Profile + func (p *Profile) Keyring(k keyring.Keyring) *ProfileKeyring + type ProfileConfig struct + File string + func NewProfileConfig(profiles ...*Profile) *ProfileConfig + func (c *ProfileConfig) Profile(name string) (*Profile, error) + type ProfileKeyring struct + func (pk *ProfileKeyring) Read() (Credentials, error) + func (pk *ProfileKeyring) ReadSession() (SessionCredentials, error) + func (pk *ProfileKeyring) Store(c Credentials) error + func (pk *ProfileKeyring) StoreSession(c SessionCredentials) error + type SessionConfig struct + Credentials *Credentials + Duration time.Duration + Profile *Profile + Refresh bool + TokenAgent TokenAgent + type SessionCredentials struct + func (sc SessionCredentials) Environ() []string + type SessionProvider struct + func (sp *SessionProvider) Session(conf SessionConfig) (SessionCredentials, error) + type TokenAgent interface + GetToken func(serial string) (string, error) Incompatible versions in this module v4.2.0+incompatible Jan 1, 2018 v4.1.0+incompatible Oct 23, 2017 v4.0.0+incompatible Sep 2, 2017