s3 addRegion

Standard Case: Integrating an On-Premise MinIO S3-Compatible Storage

Scénario de test & Cas d'usage

Business Context

A retail company is setting up a hybrid cloud environment. They want to use their on-premise MinIO object storage for staging raw sales data before processing it in SAS Viya. This test ensures that a custom, non-SSL S3 region can be successfully added and used by CAS.
About the Set : s3

Reading and writing data on Amazon S3.

Discover all actions of s3
Data Preparation

The s3.addRegion action is a server-side administrative action for configuring S3 connectivity. It does not operate on CAS tables, so no data loading is required.

Copied!
1/* No
2data creation is necessary for this action. */

Étapes de réalisation

1
Add a new region named 'minio-onprem' pointing to the internal MinIO server. SSL is explicitly disabled for this internal endpoint.
Copied!
1PROC CAS;
2 S3.addRegion /
3 name='minio-onprem'
4 host='10.0.1.50'
5 region='us-east-1'
6 port=9000
7 nossl=true;
8RUN;
2
Verify that the new region has been successfully added to the CAS server's configuration by listing all available S3 regions.
Copied!
1PROC CAS;
2 S3.listRegions;
3RUN;

Expected Result


The first step should complete successfully with a note in the log confirming the region was added. The second step should output a result table that includes the 'minio-onprem' region, showing the correct host ('10.0.1.50'), port (9000), and SSL status (disabled).