Guides
Credentials
After loading the extensions, set up the credentials and S3 region to read data. You may either use an access key and secret, or a token.  
```sql
CREATE SECRET (
TYPE S3,
KEY_ID 'AKIAIOSFODNN7EXAMPLE',
SECRET 'wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY',
REGION 'us-east-1'
);
```  
Alternatively, use the [`aws` extension](#docs:extensions:aws) to retrieve the credentials automatically:  
```sql
CREATE SECRET (
TYPE S3,
PROVIDER CREDENTIAL_CHAIN
);
```