Skip to main content

check_secrets_exist

Function check_secrets_exist 

Source
pub(super) async fn check_secrets_exist(
    client: &Client,
    secrets: &BTreeSet<ObjectId>,
) -> Result<BTreeSet<ObjectId>, ConnectionError>
Expand description

Check which secrets from the given set exist in the database.

Returns a BTreeSet of ObjectIds for secrets that already exist.