Versions in this module Expand all Collapse all v7 v7.0.12 Mar 16, 2021 Changes in this version + const DefaultExpiryWindow + const STSVersion + type AssumeRoleResponse struct + ResponseMetadata struct{ ... } + Result AssumeRoleResult + XMLName xml.Name + type AssumeRoleResult struct + AssumedRoleUser AssumedRoleUser + Credentials struct{ ... } + PackedPolicySize int + type AssumeRoleWithClientGrantsResponse struct + ResponseMetadata struct{ ... } + Result ClientGrantsResult + XMLName xml.Name + type AssumeRoleWithLDAPResponse struct + ResponseMetadata struct{ ... } + Result LDAPIdentityResult + XMLName xml.Name + type AssumeRoleWithWebIdentityResponse struct + ResponseMetadata struct{ ... } + Result WebIdentityResult + XMLName xml.Name + type AssumedRoleUser struct + Arn string + AssumedRoleID string + type Chain struct + Providers []Provider + func (c *Chain) IsExpired() bool + func (c *Chain) Retrieve() (Value, error) + type ClientGrantsResult struct + AssumedRoleUser AssumedRoleUser + Audience string + Credentials struct{ ... } + PackedPolicySize int + Provider string + SubjectFromClientGrantsToken string + type ClientGrantsToken struct + Expiry int + Token string + type Credentials struct + func New(provider Provider) *Credentials + func NewChainCredentials(providers []Provider) *Credentials + func NewEnvAWS() *Credentials + func NewEnvMinio() *Credentials + func NewFileAWSCredentials(filename string, profile string) *Credentials + func NewFileMinioClient(filename string, alias string) *Credentials + func NewIAM(endpoint string) *Credentials + func NewLDAPIdentity(stsEndpoint, ldapUsername, ldapPassword string) (*Credentials, error) + func NewSTSAssumeRole(stsEndpoint string, opts STSAssumeRoleOptions) (*Credentials, error) + func NewSTSClientGrants(stsEndpoint string, ...) (*Credentials, error) + func NewSTSWebIdentity(stsEndpoint string, getWebIDTokenExpiry func() (*WebIdentityToken, error)) (*Credentials, error) + func NewStatic(id, secret, token string, signerType SignatureType) *Credentials + func NewStaticV2(id, secret, token string) *Credentials + func NewStaticV4(id, secret, token string) *Credentials + func (c *Credentials) Expire() + func (c *Credentials) Get() (Value, error) + func (c *Credentials) IsExpired() bool + type EnvAWS struct + func (e *EnvAWS) IsExpired() bool + func (e *EnvAWS) Retrieve() (Value, error) + type EnvMinio struct + func (e *EnvMinio) IsExpired() bool + func (e *EnvMinio) Retrieve() (Value, error) + type Expiry struct + CurrentTime func() time.Time + func (e *Expiry) IsExpired() bool + func (e *Expiry) SetExpiration(expiration time.Time, window time.Duration) + type FileAWSCredentials struct + Filename string + Profile string + func (p *FileAWSCredentials) IsExpired() bool + func (p *FileAWSCredentials) Retrieve() (Value, error) + type FileMinioClient struct + Alias string + Filename string + func (p *FileMinioClient) IsExpired() bool + func (p *FileMinioClient) Retrieve() (Value, error) + type IAM struct + Client *http.Client + Endpoint string + func (m *IAM) Retrieve() (Value, error) + type LDAPIdentity struct + Client *http.Client + LDAPPassword string + LDAPUsername string + STSEndpoint string + func (k *LDAPIdentity) Retrieve() (value Value, err error) + type LDAPIdentityResult struct + Credentials struct{ ... } + SubjectFromToken string + type Provider interface + IsExpired func() bool + Retrieve func() (Value, error) + type STSAssumeRole struct + Client *http.Client + Options STSAssumeRoleOptions + STSEndpoint string + func (m *STSAssumeRole) Retrieve() (Value, error) + type STSAssumeRoleOptions struct + AccessKey string + DurationSeconds int + Location string + RoleARN string + RoleSessionName string + SecretKey string + type STSClientGrants struct + Client *http.Client + GetClientGrantsTokenExpiry func() (*ClientGrantsToken, error) + STSEndpoint string + func (m *STSClientGrants) Retrieve() (Value, error) + type STSWebIdentity struct + Client *http.Client + GetWebIDTokenExpiry func() (*WebIdentityToken, error) + STSEndpoint string + func (m *STSWebIdentity) Expiration() time.Time + func (m *STSWebIdentity) Retrieve() (Value, error) + type SignatureType int + const SignatureAnonymous + const SignatureDefault + const SignatureV2 + const SignatureV4 + const SignatureV4Streaming + func (s SignatureType) IsAnonymous() bool + func (s SignatureType) IsStreamingV4() bool + func (s SignatureType) IsV2() bool + func (s SignatureType) IsV4() bool + func (s SignatureType) String() string + type Static struct + func (s *Static) IsExpired() bool + func (s *Static) Retrieve() (Value, error) + type Value struct + AccessKeyID string + SecretAccessKey string + SessionToken string + SignerType SignatureType + type WebIdentityResult struct + AssumedRoleUser AssumedRoleUser + Audience string + Credentials struct{ ... } + PackedPolicySize int + Provider string + SubjectFromWebIdentityToken string + type WebIdentityToken struct + Expiry int + Token string Other modules containing this package github.com/dynamic2500/minio-go