Ask Your Question

is there any way to remove or delete expired tokens ?

asked 2012-05-23 02:05:39 -0500

tonytkdk gravatar image

hi all

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

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2012-06-04 16:11:46 -0500

heckj gravatar image

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

edit flag offensive delete link more

answered 2012-06-04 16:12:59 -0500

heckj gravatar image

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

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2012-05-23 02:05:39 -0500

Seen: 154 times

Last updated: Jun 04 '12