storeSecret

abstract suspend fun storeSecret(    name: String,     secretBase64: String,     keys: List<KeyRef>)

Store an encrypted secret on the server Clients MUST ensure that the key is trusted before using it to encrypt secrets.

Parameters

name

The name of the secret

secretBase64

The secret contents.

keys

The list of (ID,privateKey) of the keys to use to encrypt the secret.