Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlibabaSecuritykeyEndPoint = "https://sts.cn-beijing.aliyuncs.com" HeaderxacsVersion = "2015-04-01" HeaderxacsAction = "AssumeRoleWithOIDC" )
Variables ¶
This section is empty.
Functions ¶
func StructToUrlValues ¶
func TimeStampNowISO8601 ¶
func TimeStampNowISO8601() string
Types ¶
type Alibaba ¶
type Alibaba struct{}
func (Alibaba) GetSecurityKey ¶
func (Alibaba) GetSecurityKey(c buffalo.Context) (*securitykeyprovider.CspCredential, error)
type AlibabaAssumeRoleWithOIDCResponse ¶
type AlibabaAssumeRoleWithOIDCResponse struct { XMLName xml.Name `xml:"AssumeRoleWithOIDCResponse"` RequestId string `xml:"RequestId"` OIDCTokenInfo struct { Issuer string `xml:"Issuer"` IssuanceTime string `xml:"IssuanceTime"` VerificationInfo string `xml:"VerificationInfo"` ExpirationTime string `xml:"ExpirationTime"` Subject string `xml:"Subject"` ClientIds string `xml:"ClientIds"` } `xml:"OIDCTokenInfo"` AssumedRoleUser struct { Arn string `xml:"Arn"` AssumedRoleId string `xml:"AssumedRoleId"` } `xml:"AssumedRoleUser"` Credentials struct { SecurityToken string `xml:"SecurityToken"` AccessKeyId string `xml:"AccessKeyId"` AccessKeySecret string `xml:"AccessKeySecret"` Expiration string `xml:"Expiration"` } `xml:"Credentials"` }
Click to show internal directories.
Click to hide internal directories.