secretKey

abstract fun secretKey(bytes: ByteArray)

Set the endpoint secret key (32 bytes).

Errors if a preset already pinned the key because it minted a credential scoped to it — see preset_iroh_services.