You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
272 B
13 lines
272 B
8 years ago
|
package sts
|
||
|
|
||
|
import "github.com/aws/aws-sdk-go/aws/request"
|
||
|
|
||
|
func init() {
|
||
|
initRequest = func(r *request.Request) {
|
||
|
switch r.Operation.Name {
|
||
|
case opAssumeRoleWithSAML, opAssumeRoleWithWebIdentity:
|
||
|
r.Handlers.Sign.Clear() // these operations are unsigned
|
||
|
}
|
||
|
}
|
||
|
}
|