management.models.key_storage¶
Key Storage Model.
Module Contents¶
- class management.models.key_storage.KeyStorageConfig(*args, **kwargs)[source]¶
Bases:
django.db.models.ModelConfiguration model for cryptographic material storage.
- class StorageType(*args, **kwds)[source]¶
Bases:
django.db.models.TextChoicesTypes of cryptographic storage.
- classmethod get_config()[source]¶
Get the crypto storage configuration (singleton).
- Returns:
The configuration instance
- Return type:
- Raises:
cls.DoesNotExist – If no configuration exists