Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeRole ¶
Types ¶
type Assertion ¶
type Assertion struct {
AttributeStatement AttributeStatement
}
type AssumeRoleRequest ¶
type AssumeRoleRequest struct {
UserInfo
PrincipalArn string `json:"principalArn"`
RoleArn string `json:"roleArn"`
SAMLAssertion string `json:"samlAssertion"`
}
func (AssumeRoleRequest) Assume ¶
func (assumeRoleRequest AssumeRoleRequest) Assume() (*sts.AssumeRoleWithSAMLOutput, error)
type AssumeRoleResponse ¶
type AssumeRoleResponse struct {
Credentials
Expiration *time.Time `json:"expiration"`
}
type AttributeStatement ¶
type AttributeStatement struct {
Attributes []Attribute `xml:"Attribute"`
}
type Credentials ¶
type LoginResponse ¶
type XmlResponse ¶
type XmlResponse struct {
Assertion Assertion
}
Click to show internal directories.
Click to hide internal directories.