kanidmd_lib/migration_data/dl8/
key_providers.rs

1use crate::constants::entries::{Attribute, EntryClass};
2use crate::constants::uuids::UUID_KEY_PROVIDER_INTERNAL;
3use crate::entry::{Entry, EntryInit, EntryInitNew, EntryNew};
4use crate::value::Value;
5
6lazy_static! {
7    pub static ref E_KEY_PROVIDER_INTERNAL_DL6: EntryInitNew = entry_init!(
8        (Attribute::Class, EntryClass::Object.to_value()),
9        (Attribute::Class, EntryClass::KeyProvider.to_value()),
10        (Attribute::Class, EntryClass::KeyProviderInternal.to_value()),
11        (Attribute::Uuid, Value::Uuid(UUID_KEY_PROVIDER_INTERNAL)),
12        (Attribute::Name, Value::new_iname("key_provider_internal")),
13        (
14            Attribute::Description,
15            Value::new_utf8s("The default database internal cryptographic key provider.")
16        )
17    );
18}