BL_TOKEN= LIBNAME Statement Option

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

Valid in: SAS/ACCESS LIBNAME statement
Categories: Bulk Loading
Data Access
Default: none
Requirement: To specify this option, you must first specify BULKUNLOAD=YES.
Data source: Amazon Redshift, Spark
Notes: You can safely ignore any notes you receive about your token being too long.
Support for Spark was added in SAS 9.4M9.
See: BL_KEY= LIBNAME option, BL_SECRET= LIBNAME option, BULKUNLOAD= LIBNAME option

Table of Contents

Syntax

Required Argument

temporary-token

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

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