CLIENT_SECRET= LIBNAME Statement Option

Specifies the client secret value for the OAuth client that is used to connect to Google BigQuery using the OAuth authentication method.

Valid in: SAS/ACCESS LIBNAME statement
Category: Data Access
Default: none
Interaction: Use this option in conjunction with the CLIENT_ID= and REFRESH_TOKEN= options.
Data source: Google BigQuery
Note: Support for this option was added in the April 2020 update for SAS/ACCESS.
See: CLIENT_ID= LIBNAME option, REFRESH_TOKEN= LIBNAME option
Example:
CLIENT_SECRET=O8XKYBEdFZdX_1BAbABab9AB

Table of Contents

Syntax

CLIENT_SECRET=authentication-secret

Syntax Description

authentication-secret

specifies the client secret value for the OAuth client that is used to connect to Google BigQuery using the OAuth authentication method.

Details

This value is masked in the SAS log.

This option accepts values that have been encoded using PROC PWENCODE. SAS/ACCESS recognizes encoded values as those that begin with a SAS encoding tag. For more information, see PWENCODE Procedure in Base SAS Procedures Guide.

Last updated: February 3, 2026