Management of the secret key