2a53d852f3
The parseIamArn method was making assumptions about the input arn being properly formatted and of a certain type. If users tried to pass a bound_iam_principal_arn that was malformed (or was the ARN of the root user), it would cause a panic. parseIamArn now explicitly checks the assumptions it's making and tests are added to ensure it properly errors out (rather than panic'ing) on malformed input. |
||
---|---|---|
.. | ||
audit | ||
credential | ||
logical | ||
plugin |