Iam trying to build the rest api for the below command where i can get the vault token
CMD:
vault login -token-only -no-store -method=aws -path=path-value role=role-value
the above command returns me the token for vault and I need to convert this command to API request
Iam going through the docs And I dont find anything similar for my requirement
Can someone help me how to get Rest call for the above command