is there any way to remove or delete expired tokens ?

Asked by Hugo Kou on 2012-05-23

hi all

is there anyway to remove those expired tokens in tokens table?

Question information

English Edit question
OpenStack Identity (keystone) Edit question
No assignee Edit question
Last query:
Last reply:
Joseph Heck (heckj) said : #1

If you're using the SQL backend for tokens, there is an explicit API call to remove a token, but it expects you to know it already. The internal Token API doesn't currently do anything to remove expired tokens from a backing store, so a manual cleanup job to remove expired tokens for the SQL implementation would be needed.

The lack of cleanup of expired tokens in the SQL backend should be listed as a bug

Joseph Heck (heckj) said : #2

I've opened a bug (1008587) related to this.

Can you help with this problem?

Provide an answer of your own, or ask Hugo Kou for more information if necessary.

To post a message you must log in.