Backoffice File Upload
Upload files to Backoffice
Last updated
Upload files to Backoffice
Last updated
Backoffice supports uploading files to cloud storage for secure temporary access or public read. This is useful for device documentation, SVG Floor Maps or Room Photos.
Configure your storage bucket on the cloud storage platform
Ensure CORS is enabled for the domain Backoffice will be uploading from
Note the storage bucket name
Generate access credentials for the storage bucket
Go to the Manage instance tab and select Upload Storage
You can optionally configure a default storage solution or a per-domain one
Enter the bucket name and access keys, examples below:
You will find this under bucket permissions -> CORS configuration.
You will want to configure the access key with minimal permissions too:
In IAM, create a new user to act as the service account
Grant the user no permissions except S3 List, Read, Write, Object permissions management
Generate some access keys to use for signing upload requests
An example IAM user policy for file uploads:
If you don't want the user to have object permission management then you also override the bucket level policy, where all objects are public
Once the above configuration steps are completed, you should be able to upload files to PlaceOS.
To upload a file, drag and drop it into Backoffice in your browser.
The file upload status will be displayed.
Once the upload is complete, you can copy the file URL and use this as required.
:::tip The uploaded file will be given a discrete URL on the storage bucket, for example: https://s3-ap-southeast-2.amazonaws.com/bucket.name/directory.name/16221818379492128.svg
.
Characters will be automatically encoded, if present. :::
*[CORS]: Cross-Origin Resource Sharing *[IAM]: Identity & Access Management