set device secret_key