is there any way to remove or delete expired tokens ?

Asked by Hugo Kou

hi all

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

Question information

Language:
English Edit question
Status:
Answered
For:
OpenStack Identity (keystone) Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
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

Revision history for this message
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.