Skip to main content
Version: Next

UNCEFACT Storage Adapter

The UNCEFACT Storage Service is the default storage service bundled with the Reference Implementation.

About

The UNCEFACT Storage Service is a standalone service that provides public and private bucket-based storage for credentials, render templates, and other binary data. It supports encryption for private storage and returns URIs, integrity hashes, and decryption keys for stored items.

Supported Version

The supported version of the UNCEFACT Storage Service is 3.2.1.

Environment Variables

The following environment variables configure the connection between the Reference Implementation and a UNCEFACT Storage Service instance:

VariableDescriptionRequiredDefault
SYSTEM_STORAGE_BASE_URLBase URL of the storage serviceYeshttp://localhost:3334
SYSTEM_STORAGE_API_KEYAuthentication token for the storage service APIYestest123
SYSTEM_STORAGE_ADAPTER_TYPEMust be set to UNCEFACT_STORAGEYesUNCEFACT_STORAGE
SYSTEM_STORAGE_SERVICE_NAMEDisplay name for this service instanceNoSystem Default Storage
SYSTEM_STORAGE_SERVICE_DESCRIPTIONDescription for this service instanceNo
SYSTEM_STORAGE_API_VERSIONAPI versionNo3.1.0
SYSTEM_STORAGE_PUBLIC_BUCKETBucket name for public (unencrypted) storageYespublic-data
SYSTEM_STORAGE_PRIVATE_BUCKETBucket name for private (encrypted) storageYesprivate-data

The public and private bucket names can be the same if separate buckets are not required.

These variables are used during startup to seed the default storage service instance into the system tenant.

API Configuration Schema

When creating or updating a UNCEFACT Storage service instance via the Services API, the config object must conform to the following schema:

FieldTypeRequiredDefaultDescription
baseUrlstring (URL)YesBase URL of the storage service (e.g., http://storage-service:3334)
apiKeystringNoAuthentication token for the storage service API. Sensitive — masked in API responses.
apiVersionstringYes3.1.0API version to use when communicating with the storage service. Currently only 3.1.0 is accepted.
publicBucketstringYesBucket name for public (unencrypted) storage. Can be the same value as privateBucket.
privateBucketstringYesBucket name for private (encrypted) storage. Can be the same value as publicBucket.

Example:

{
"baseUrl": "https://storage.example.com",
"apiKey": "your-api-key",
"apiVersion": "3.1.0",
"publicBucket": "public-data",
"privateBucket": "private-data"
}