We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
The following piece of code is returning json: cannot unmarshal number into Go value of type string:
json: cannot unmarshal number into Go value of type string
secret, _, err := a.client.GetDynamicSecretValue(ctx). Body(akeyless.GetDynamicSecretValue{ Name: name, Token: &token, }).Execute()
The json returned by the dynamic secret looks like this:
{ "access_token": "an-access-token", "expiration": <number> }
Strangely for me, this works using the akeyless-cli.
Would it be possible to have the Execute() function return map[string]any? Or maybe using generics like Execute()(T, error)?
Execute()
map[string]any
Execute()(T, error)
Thanks.
The text was updated successfully, but these errors were encountered:
Any updates on this?
Sorry, something went wrong.
No branches or pull requests
Hi,
The following piece of code is returning
json: cannot unmarshal number into Go value of type string
:The json returned by the dynamic secret looks like this:
Strangely for me, this works using the akeyless-cli.
Would it be possible to have the
Execute()
function returnmap[string]any
? Or maybe using generics likeExecute()(T, error)
?Thanks.
The text was updated successfully, but these errors were encountered: