Versions in this module Expand all Collapse all v1 v1.0.0 Jan 25, 2023 Changes in this version + var ErrInvalidAccessKeyLength = fmt.Errorf("access key must be minimum %v or more characters long", accessKeyMinLen) + var ErrInvalidSecretKeyLength = fmt.Errorf("secret key must be minimum %v or more characters long", secretKeyMinLen) + func IsAccessKeyValid(accessKey string) bool + func IsSecretKeyValid(secretKey string) bool + type Credentials struct + AccessKey string + Expiration time.Time + SecretKey string + SessionToken string + Status string + func CreateCredentials(accessKey, secretKey string) (cred Credentials, err error) + func GetNewCredentials() (cred Credentials, err error) + func GetNewCredentialsWithMetadata(m map[string]interface{}, tokenSecret string) (cred Credentials, err error) + func (cred Credentials) Equal(ccred Credentials) bool + func (cred Credentials) IsExpired() bool + func (cred Credentials) IsValid() bool Incompatible versions in this module v3.0.0+incompatible Nov 17, 2023 v2.0.0+incompatible May 16, 2023