customizations.go 272 B

123456789101112
  1. package sts
  2. import "github.com/aws/aws-sdk-go/aws/request"
  3. func init() {
  4. initRequest = func(r *request.Request) {
  5. switch r.Operation.Name {
  6. case opAssumeRoleWithSAML, opAssumeRoleWithWebIdentity:
  7. r.Handlers.Sign.Clear() // these operations are unsigned
  8. }
  9. }
  10. }