You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This same issue is also present in the '/auth/token/roles/:role_name' endpoint with at least the 'allowed_policies' field.
I have not checked any other fields but the api docs state the field is a List [], but it fails stating its expecting a 'string', same as this issue.
Also, the documentation for the same endpoint says the 'period' field should be a 'string' but the call fails because its trying to parse an integer: [ERR] core: failed to run existence check: Error converting input for field period: strconv.ParseInt: parsing "": invalid syntax
Also, the 'explicit_max_ttl' field... [ERR] core: failed to run existence check: Error converting input for field explicit_max_ttl: strconv.ParseInt: parsing "": invalid syntax
The documentation for the policies block of a AWS auth role definition shows an array but only accepts a string.
Environment:
Expected Behavior:
AWS auth role created
Actual Behavior:
Role failed due to incorrect datatype:
Steps to Reproduce:
Mount the AWS authentcation backend.
Create a role in form:
Attempt to load it:
Request fails.
Retry with policies as a string:
returns a complaint about the number binds.
References:
https://www.vaultproject.io/api/auth/aws/index.html#sample-payload-5 shows the policies an array.
The text was updated successfully, but these errors were encountered: