Your external object store must be configured to allow Advanced SQL Engine access.
When you configure external storage, you set the credentials to your external object store. Those credentials are used in SQL commands. The supported credentials for USER and PASSWORD (used in the CREATE AUTHORIZATION command) and for ACCESS_ID and ACCESS_KEY (used by READ_NOS and WRITE_NOS) correspond to the values shown in the following table:
Platform | USER/ACCESS_ID | PASSWORD/ACCESS_KEY |
---|---|---|
Amazon S3 | Access Key | Secret Access Key |
Amazon S3 IAM | AWS Identity and Access Management (IAM) Credentials (roles/policies) | |
Azure Access Key | Storage Account Name | Key |
Azure Account Shared Access Signature (SAS) | Storage Account Name | SAS Token |
Google Cloud Storage | Access Key | Secure Email and Secret Access Key |
Public access object stores | <empty string> Enclose the empty string in single straight quotes: USER '' |
<empty string> Enclose the empty string in single straight quotes: PASSWORD '' |
On-premises object stores | Access Key | Secret Access Key |