BookmarkSubscribeRSS Feed

Hiding Sensitive Parameters Connecting to BigQuery Using OAuth Authentication

Started ‎10-12-2022 by
Modified ‎10-25-2022 by
Views 309

[video]

 

Presenter: Sebastian Tobar

 

While SAS has a Google BigQuery interface, authentication can be an issue if you want to use it. You have the option of using a service account or using OAuth authentication. If you use OAuth authentication, you have to provide the client ID, secret and refresh token to the libname statement. In order to hide the client secret from our users, and avoid having them handling refresh tokens, we developed a set of encrypted macros that can get the refresh token for the user and use it to create a regular library or a CAS library. This allows our users to access the same data they can access directly on BigQuery, without having to handle authorization directly on the SAS environment.

Contributors
Version history
Last update:
‎10-25-2022 11:12 AM
Updated by:

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

Register Now

SAS Explore 2023 presentations are now available! (Also indexed for search at lexjansen.com!)

View all available SAS Explore content by category: 

Article Tags