Azure
Azure URI Format
Specify a location for a file (or files) when using COPY FROM or Foreign Tables.
The following is an example of the general Azure syntax:
azure://accountname.core.windows.net/path
Connection String
Connection String Example:
"DefaultEndpointsProtocol=https;AccountName=myaccount101;AccountKey=#######################################==;EndpointSuffix=core.windows.net"
Use the following parameters within your SQreamDB legacy configuration file for authentication:
Parameter |
Description |
---|---|
|
Specifies the protocol (e.g., https or http) used for accessing the storage service |
|
Represents the unique name of your Azure Storage account |
|
Acts as the primary access key for securely authenticating and accessing resources within the storage account |
|
Denotes the Azure Storage service endpoint suffix for a specific region or deployment, such as |
Example
COPY table_name FROM WRAPPER csv_fdw OPTIONS(location = 'azure://sqreamrole.core.windows.net/sqream-demo-data/file.csv');