]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blobdiff - vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go
Initial transfer of provider code
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / aws / aws-sdk-go / service / sts / customizations.go
diff --git a/vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go b/vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go
new file mode 100644 (file)
index 0000000..4010cc7
--- /dev/null
@@ -0,0 +1,12 @@
+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
+               }
+       }
+}