BL_TOKEN= Data Set Option

Specifies a temporary token that is associated with the temporary credentials that you specify with the BL_KEY= and BL_SECRET= data set options.

Valid in: DATA and PROC steps (when accessing DBMS data using SAS/ACCESS software)
Categories: Bulk Loading
Data Set Control
Default: none
Requirement: To specify this option, you must first specify BULKLOAD=YES.
Data source: Amazon Redshift, Snowflake, Spark
Note: Support for Spark was added in SAS 9.4M9.
See: BL_KEY= data set option, BL_SECRET= data set option, BL_TOKEN= LIBNAME option, BULKLOAD= data set option

Table of Contents

Syntax

BL_TOKEN=temporary-token

Required Argument

temporary-token

specifies a temporary token that is associated with the temporary credentials that you provide with BL_KEY= and BL_SECRET= data set options.

Note: You can safely ignore any notes you receive about your token being too long.

Details

When you obtain the temporary credentials that you use to access the Amazon Web Services environment, you obtain an AWS key, an AWS secret key, and an AWS token. These credentials are valid only for a limited amount of time.

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