Replace security keys