System and method for storing and retrieve cryptographic secrets of different customer-end devices in a network