Credential
Contains provider connection fields. It should be readable and changeable only by the server and intended administrators.
Daptin
Run Daptin →
Cloud storage guide
Start with local storage, then introduce an rclone-supported provider. Keep the credential, store, and file field as three explicit layers you can test independently.
Local first
{
"name": "local-store",
"store_type": "local",
"store_provider": "localstore",
"root_path": "/srv/daptin/storage"
}
A local store does not need a provider credential. Check that the Daptin process can read and write the directory and that it resides on durable storage in production.
Remote provider
credential_name to the exact name of the
credential record used by the latest release.
ForeignKeyData.Namespace to the exact cloud-store
name and KeyName to its folder or prefix.
Provider shape
Contains provider connection fields. It should be readable and changeable only by the server and intended administrators.
Names a usable storage root and identifies its credential when the provider requires one.
Points at the store name and a logical prefix such as
photos, documents, or
mail.
Holds asset metadata and public delivery information without exposing provider keys to the browser.
Verification
credential_name resolves to the
intended server-held credential where authentication is
required.
KeyName prefix.
Use server-held credentials, but do not treat storage configuration alone as a guarantee of secret safety. Restrict credential-table access and apply the provider's own least-privilege policy.