mirror of
https://github.com/thegeeklab/wp-opentofu.git
synced 2024-11-24 13:20:39 +00:00
13 lines
272 B
Go
13 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
|
||
|
}
|
||
|
}
|
||
|
}
|