Documentation ¶
Index ¶
Constants ¶
View Source
const ( // StsSignVersion sts sign version StsSignVersion = "1.0" // StsAPIVersion sts api version StsAPIVersion = "2015-04-01" // StsHost sts host StsHost = "https://sts.aliyuncs.com/" // TimeFormat time fomrat TimeFormat = "2006-01-02T15:04:05Z" // RespBodyFormat respone body format RespBodyFormat = "JSON" // PercentEncode '/' PercentEncode = "%2F" // HTTPGet http get method HTTPGet = "GET" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssumedRoleUser ¶
AssumedRoleUser the user to AssumedRole
type Credentials ¶
type Credentials struct { AccessKeyId string AccessKeySecret string Expiration time.Time SecurityToken string }
Credentials the credentials obtained by AssumedRole, used for the peration of Alibaba Cloud service.
type Response ¶
type Response struct { Credentials Credentials AssumedRoleUser AssumedRoleUser RequestId string }
Response the response of AssumeRole
Click to show internal directories.
Click to hide internal directories.