create_cipher

Function create_cipher 

Source
async fn create_cipher(
    request: CipherCreateRequestInternal,
    encrypted_for: UserId,
    api_client: &ApiClient,
    key_store: &KeyStore<KeyIds>,
) -> Result<CipherView, CreateCipherAdminError>
Expand description

Wraps the API call to create a cipher using the admin endpoint, for easier testing.