Open aykut-bozkurt opened 1 month ago
Supports following Azure Blob uri forms:
az://{container}/key
azure://{container}/key
https://{account}.blob.core.windows.net/{container}/key
Configuration
The simplest way to configure object storage is by creating the standard ~/.azure/config file:
~/.azure/config
$ cat ~/.azure/config [storage] account = devstoreaccount1 key = Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==
Alternatively, you can use the following environment variables when starting postgres to configure the Azure Blob Storage client:
AZURE_STORAGE_ACCOUNT
AZURE_STORAGE_KEY
AZURE_STORAGE_SAS_TOKEN
AZURE_CONFIG_FILE
Bonus Additionally, PR supports following S3 uri forms:
s3://{bucket}/key
s3a://{bucket}/key
https://s3.amazonaws.com/{bucket}/key
https://{bucket}.s3.amazonaws.com/key
Closes https://github.com/CrunchyData/pg_parquet/issues/50
Supports following Azure Blob uri forms:
az://{container}/key
azure://{container}/key
https://{account}.blob.core.windows.net/{container}/key
Configuration
The simplest way to configure object storage is by creating the standard
~/.azure/config
file:Alternatively, you can use the following environment variables when starting postgres to configure the Azure Blob Storage client:
AZURE_STORAGE_ACCOUNT
: the storage account name of the Azure BlobAZURE_STORAGE_KEY
: the storage key of the Azure BlobAZURE_STORAGE_SAS_TOKEN
: the storage SAS token for the Azure BlobAZURE_CONFIG_FILE
: an alternative location for the config fileBonus Additionally, PR supports following S3 uri forms:
s3://{bucket}/key
s3a://{bucket}/key
https://s3.amazonaws.com/{bucket}/key
https://{bucket}.s3.amazonaws.com/key
Closes https://github.com/CrunchyData/pg_parquet/issues/50