Expected Behavior
To read an AppRole using the vault.Auth.AppRoleReadRole function and parse the data.
Current Behavior
When reading an AppRole using the vault.Auth.AppRoleReadRole function it results in a invalid memory address or nil pointer dereference error,
json: cannot unmarshal number into Go struct field AppRoleReadRoleResponse.data.secret_id_ttl of type string
Failure Information
Please include the version of Vault binary and the version of vault-client-go you're using.
Vault binary: v1.16.3
vault-client-go: v0.4.3
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
- Initialize Vault client as described in the documentation.
- Assign the value of
resp to a variable of type, schema.AppRoleReadRoleResponse.
Additional Information
Additional information including exception details, stack trace, etc.
Expected Behavior
To read an AppRole using the vault.Auth.AppRoleReadRole function and parse the data.
Current Behavior
When reading an AppRole using the vault.Auth.AppRoleReadRole function it results in a invalid memory address or nil pointer dereference error,
Failure Information
Please include the version of Vault binary and the version of
vault-client-goyou're using.Vault binary: v1.16.3
vault-client-go: v0.4.3Steps to Reproduce
Please provide detailed steps for reproducing the issue.
respto a variable of type,schema.AppRoleReadRoleResponse.Additional Information
Additional information including exception details, stack trace, etc.