Versions in this module Expand all Collapse all v1 v1.0.0 Nov 24, 2023 Changes in this version + type StsGetCredentialPolicy struct + Statement []StsGetCredentialPolicyStatement + Version string + type StsGetCredentialPolicyStatement struct + Action []string + Effect string + Resource []string + type StsGetCredentialResponse struct + ErrCode int32 + ErrMsg string + Expiration int64 + SessionToken string + TmpSecretID string + TmpSecretKey string + func StsGetCredential(accessKeyId string, accessKeySecret string, ossRamRoleArn string, ...) (*StsGetCredentialResponse, error)