Connecting to File Storage
From DreamFactory
Toddappleton (Talk | contribs) |
(→Azure Blob Storage) |
||
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | == AWS S3 == | |
To create a service for connecting to Amazon S3 storage, follow these steps. | To create a service for connecting to Amazon S3 storage, follow these steps. | ||
Line 5: | Line 5: | ||
*Go to the Services tab in the admin console. | *Go to the Services tab in the admin console. | ||
*Click Create. | *Click Create. | ||
− | *Set the Service Type to | + | *Set the Service Type to AWS S3. |
*Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API. | *Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API. | ||
*Go to the Config tab for the new service. | *Go to the Config tab for the new service. | ||
Line 13: | Line 13: | ||
*Go to the API Docs tab in the admin console to test your new service. | *Go to the API Docs tab in the admin console to test your new service. | ||
− | + | == Rackspace Cloud Files & OpenStack Object Storage == | |
To create a service for connecting to Rackspace or OpenStack storage, follow these steps. | To create a service for connecting to Rackspace or OpenStack storage, follow these steps. | ||
Line 19: | Line 19: | ||
*Go to the Services tab in the admin console. | *Go to the Services tab in the admin console. | ||
*Click Create. | *Click Create. | ||
− | *Set the Service Type to | + | *Set the Service Type to Rackspace Cloud Files or OpenStack Object Storage. |
*Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API. | *Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API. | ||
*Go to the Config tab for the new service. | *Go to the Config tab for the new service. | ||
Line 26: | Line 26: | ||
*Go to the API Docs tab in the admin console to test your new service. | *Go to the API Docs tab in the admin console to test your new service. | ||
− | + | == Azure Blob Storage == | |
To create a service for connecting to Azure blob storage, follow these steps. Azure support is not included by default, so you will have to modify your composer.json file and run composer update. | To create a service for connecting to Azure blob storage, follow these steps. Azure support is not included by default, so you will have to modify your composer.json file and run composer update. | ||
− | + | <pre>cp composer.json-all-dist composer.json</pre> | |
*Go to the Services tab in the admin console. | *Go to the Services tab in the admin console. | ||
*Click Create. | *Click Create. | ||
− | *Set the Service Type to | + | *Set the Service Type to Azure Blob Storage. |
*Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API. | *Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API. | ||
*Go to the Config tab for the new service. | *Go to the Config tab for the new service. | ||
Line 40: | Line 40: | ||
*Click Create Service to save your new service. | *Click Create Service to save your new service. | ||
*Go to the API Docs tab in the admin console to test your new service. | *Go to the API Docs tab in the admin console to test your new service. | ||
+ | |||
+ | Note: At the time of this writing, DreamFactory's Azure Blob Storage connector does not support the NextMarker parameter, meaning blob lists are limited to 5,000 entries. |
Latest revision as of 13:38, 23 July 2020
AWS S3
To create a service for connecting to Amazon S3 storage, follow these steps.
- Go to the Services tab in the admin console.
- Click Create.
- Set the Service Type to AWS S3.
- Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
- Go to the Config tab for the new service.
- Enter your AWS access key, secret key, and region.
- Enter container (bucket) name.
- Click Create Service to save your new service.
- Go to the API Docs tab in the admin console to test your new service.
Rackspace Cloud Files & OpenStack Object Storage
To create a service for connecting to Rackspace or OpenStack storage, follow these steps.
- Go to the Services tab in the admin console.
- Click Create.
- Set the Service Type to Rackspace Cloud Files or OpenStack Object Storage.
- Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
- Go to the Config tab for the new service.
- Enter all requested info pertaining to your storage account, including container name. Public paths are optional.
- Click Create Service to save your new service.
- Go to the API Docs tab in the admin console to test your new service.
Azure Blob Storage
To create a service for connecting to Azure blob storage, follow these steps. Azure support is not included by default, so you will have to modify your composer.json file and run composer update.
cp composer.json-all-dist composer.json
- Go to the Services tab in the admin console.
- Click Create.
- Set the Service Type to Azure Blob Storage.
- Enter a name and label for the service. Name will be part of the URL for accessing the service via the REST API.
- Go to the Config tab for the new service.
- Enter all requested info pertaining to your storage account, including container name. Public paths are optional.
- Click Create Service to save your new service.
- Go to the API Docs tab in the admin console to test your new service.
Note: At the time of this writing, DreamFactory's Azure Blob Storage connector does not support the NextMarker parameter, meaning blob lists are limited to 5,000 entries.