mirror of
https://github.com/Luzifer/share.git
synced 2024-12-21 02:51:17 +00:00
12 lines
272 B
Go
12 lines
272 B
Go
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
|
|
}
|
|
}
|
|
}
|