Implement secret key access and server switching.