Ask Your Question

Revision history [back]

You should probably not store tokens in the DB. There is no reason to store tokens in the DB. This is not a scalable solution for production deployments. Have keystone use memcache to store its tokens.

The configuration change to make this happen is simple. In keystone.conf:

[token]
driver = keystone.token.backends.memcache.Token

Restart keystone server.

You wont have to worry about the DB anymore.