7
0
gaore-common-sdk-go/sdk/auth/credentials/sts_token_credential.go
liangzy c2428de635 1.添加Debug信息
2.添加std_token (md5) 加密方式
2020-08-08 15:09:58 +08:00

16 lines
360 B
Go

package credentials
type StdTokenCredential struct {
AccessKeyId string
AccessKeySecret string
AccessKeyFrom string
}
func NewStsTokenCredential(accessKeyId, accessKeySecret, accessFrom string) *StdTokenCredential {
return &StdTokenCredential{
AccessKeyId: accessKeyId,
AccessKeySecret: accessKeySecret,
AccessKeyFrom: accessFrom,
}
}