diff options
Diffstat (limited to 'vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go')
-rw-r--r-- | vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go | 12 |
1 files changed, 12 insertions, 0 deletions
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 index 0000000..4010cc7 --- /dev/null +++ b/vendor/github.com/aws/aws-sdk-go/service/sts/customizations.go | |||
@@ -0,0 +1,12 @@ | |||
1 | package sts | ||
2 | |||
3 | import "github.com/aws/aws-sdk-go/aws/request" | ||
4 | |||
5 | func init() { | ||
6 | initRequest = func(r *request.Request) { | ||
7 | switch r.Operation.Name { | ||
8 | case opAssumeRoleWithSAML, opAssumeRoleWithWebIdentity: | ||
9 | r.Handlers.Sign.Clear() // these operations are unsigned | ||
10 | } | ||
11 | } | ||
12 | } | ||