[keystone] Getting a token from existing token

hai wu haiwu.us at gmail.com
Tue Jun 14 18:28:05 UTC 2022

Is it possible to get a new token from an existing token, and at the
same time, to have the new token expiration time extended? (token
renewal from existing token)

It seems the token expiration time is not extended when trying the
same curl command as shown in section "Getting a token from a token"
in this doc: https://docs.openstack.org/keystone/train/api_curl_examples.html.


curl -i \
  -H "Content-Type: application/json" \
  -d '
{ "auth": {
    "identity": {
      "methods": ["token"],
      "token": {
        "id": "'$OS_TOKEN'"
}' \
  "http://localhost:5000/v3/auth/tokens" ; echo

More information about the openstack-discuss mailing list