Anyone hear of a way to embed credentials in a project? Instead of having libname or connect statements in programs within a project, can you somehow embed userid and password somewhere else in it? Never heard of it and a contractor in a different departments claims to have done this. I'm running EG7.1.
May want to describe exactly what the credentials are supposed to do. And check that the "contractor" is using credentials for the same purpose.
Proc HTTP might include credentials.
Filename FTP or URL might.
Information could be stored in a data set and data step code uses that information with something like Call Execute so you don't see the "credentials" in the code but the program generates statements on the fly for libname or connect strings.
One way to do this is to use Authentication Domains that are defined in SAS metadata. The Authdomain links to a service account / password combination also stored in SAS metadata and any LIBNAME just needs to specify the AUTHDOMAIN option instead of supplying a user account and password.
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9. Sign up by March 14 for just $795.
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.
Ready to level-up your skills? Choose your own adventure.