2

Is there a way to force expire or revoke OpenStack Swift Tokens? I am looking some API method to do this.

Bing / Google search didn't return anything useful.

Saqib Ali
  • 3,953
  • 10
  • 55
  • 100

1 Answers1

5

In swauth (after version 1.0.7), try to include "X-Auth-New-Token: true" in http header. And then swauth will issue a new token and revoke any old token.

onemouth
  • 2,252
  • 16
  • 31
  • what if I was on tempAuth ? actually wanted to invalidate the token to see what happens if I then try to upload some file to a temp-url (generated while token was invalid / expired) – kellogs Mar 20 '14 at 19:19