Commit c8add30
Mike Morris
Validate SAML parameters before doing AssumeRoleWithSAML
Check that we have something resembling a value in the SAMLAssertion
and PrincipalARN before making the AssumeRole call. We'll leave the
data validation to AWS, but make sure we provide a more helpful error
message in case these values aren't set.1 parent 124e360 commit c8add30
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
| |||
84 | 85 | | |
85 | 86 | | |
86 | 87 | | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
87 | 96 | | |
88 | 97 | | |
89 | 98 | | |
| |||
0 commit comments