Ensure key info is persisted; return token for key.