Versions in this module Expand all Collapse all v1 v1.2.7 May 31, 2023 Changes in this version + const ConfigPath + const StsTokenTimeLayout + func Decrypt(s string, keyring []byte) ([]byte, error) + func GetOwnerAccountFromEnv() (accountId string, err error) + func GetRegionFromEnv() (region string, err error) + func PKCS5UnPadding(origData []byte) []byte + func ParseOwnerAccountId() (string, error) + func ParseRegion() (string, error) + func ParseRegionFromMeta() (string, error) + type AKInfo struct + AccessKeyId string + AccessKeySecret string + Expiration string + Keyring string + SecurityToken string + func ParseAKInfoFromConfigPath() (*AKInfo, error) + func ParseAKInfoFromMeta() (*AKInfo, error)