go-aws-dns/vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go

13 lines
272 B
Go
Raw Normal View History

2018-11-16 15:52:12 +00:00
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
}
}
}