BL_AWS_CONFIG_FILE= LIBNAME Statement Option

Specifies the location of the AWS configuration file.

Valid in: SAS/ACCESS LIBNAME statement
Categories: Bulk Loading
Data Access
Alias: BL_AWS_CONFIG=
Default: ~/.aws/config (UNIX)
C:\Users\<userid>\.aws\config (Windows)
Requirement: To specify this option, you must first specify BULKUNLOAD=YES.
Data source: Amazon Redshift, Spark
Note: Support for Spark was added in SAS 9.4M9.
See: BL_AWS_CONFIG_FILE= data set option, BL_AWS_CREDENTIALS_FILE= data set option, BULKUNLOAD= LIBNAME option

Table of Contents

Syntax

BL_AWS_CONFIG_FILE=path-and-file-name

Required Argument

path-and-file-name

specifies the location of the AWS configuration file. By default, this location is ~/.aws/config.

Details

Spark: This option is supported for bulk loading to Databricks in AWS. For more information, see Bulk Loading and Unloading to Databricks in Azure.

Last updated: February 3, 2026