Object Store provides a general interface for Filesystem, MongoDB, GoogleCloud Storage, Azure Blob, AWS S3.
It can be configured using a simple URI scheme
Available Drivers:
| driver | driver class | example |
|---|---|---|
| Google Bucket | PhoreGoogleCloudStoreDriver |
gcs://<bucket-name>?keyfile=/run/secrets/google-key-1 |
Google Bucket Native Driver (Requires google/cloud-storage) |
GoogleCloudStoreDriver |
gcsnd://<bucket-name>?keyfile=/run/secrets/google-key-1 |
| Azure Block Storage | -- |
azbs://<bucket-name>?account=<account>&keyfile=/run/secrets/az-key-1 |
Azure Block Storage Native Driver (Requires microsoft/azure-storage-blob) |
AzureObjectStoreDriver |
azbsnd://<bucket-name>?account=<account>&keyfile=/run/secrets/az-key-1 |
AWS S3 Block Storage Native Driver (Requires aws/aws-sdk-php) |
S3ObjectStoreDriver |
s3nd://<bucket-name>?account=<accountId>&keyfile=/run/secrets/keyfile®ion=<region> |
| Filesystem driver | FileSystemObjectStoreDriver |
file://path/ |
Available options:
region(require): The region (e.g.eu-central-1)account(optional): The IAM Account Keykeyfile(optional): The secret key to load from a file (secrets storage)secretkey(optional): Specify the secret key directly (take care not to expose the uri!)
If acccount is omitted, the defaultProvider is used for IAM access.
s3nd://<bucket-name>?account=<accountId>&keyfile=/run/secrets/keyfile®ion=<region>
Example
s3nd://some-bucket_name?account=02ihekuzejlslieh&keyfile=/run/secrets/keyfile®ion=eu-central-1
Available options:
account(required): The IAM Account Keykeyfile(optional): The secret key to load from a file (secrets storage)secretkey(optional): Specify the secret key directly (take care not to expose the uri!)
azbsnd://<bucket-name>?account=<accountId>&keyfile=/run/secrets/keyfile
Available options:
keyfile(optional): The secret identity file (json-format) to from a file (secrets storage)
gcsnd://<bucket-name>?keyfile=/run/secrets/keyfile