Getting a virtual token identifier with curl

Authenticate with the generated Authentication token in the Raw Signature service to list the Virtual Token identifiers. For example:

$ curl -s -H "Authorization: $JWT" "$SIGNING_SERVICE_URL/raw/partitions/$PARTITION/tokens/" | jq .
{
"result": {
"tokens": [
"token1", "token2"
]
}
}

Set the desired token identifier as an environment variable – for example:

$ export TOKEN=token1

Optionally, get detailed information on the virtual token – for example:

$ curl -s -H "Authorization: $JWT" "$SIGNING_SERVICE_URL/raw/partitions/$PARTITION/tokens/$TOKEN" | jq .
{
"result": {
"id": "token1",
"maxKeys": 999
}
}