BL_KEY= LIBNAME Statement Option

Specifies the Amazon Web Services access key that is used with key-based access control.

Valid in: SAS/ACCESS LIBNAME statement
Categories: Bulk Loading
Data Access
Default: none
Requirement: [Amazon Redshift] 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.
Tip: If you are using temporary token credentials, this is the temporary access key ID.
See: BULKUNLOAD= LIBNAME option

Table of Contents

Syntax

BL_KEY=key-value

Required Argument

key-value

specifies an AWS key that you use to access the AWS environment.

Details

For more information about managing access keys, see the Amazon Web Services (AWS) documentation.

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