Is there any APIs for decoding encoded-token in generate root token case scenario. I found that it can be achieved using below cmd.
vault operator generate-root -decode= -otp=
But I need APIs to decode the token, because I am outside the machine where vault is installed.
Can anybody help to find a solution?