Program
libname abcde "sas-library" ;
libname abcde "sas-library" authadmin=yes;
proc authlib lib=abcde;
modify
pw=secret
encrypt=aes
encryptkey=value;
run;
quit;
libname abcde "sas-library";
Program Description
Library ABCDE has three data sets: Employees, EmpInfo,
and DeptName. This LIBNAME statement
fails because there are no associated password values.
libname abcde "sas-library" ;
Use the AUTHADMIN=YES option.The
AUTHADMIN=YES option enables the AUTHLIB procedure to execute with
the binding information in the physical library.
libname abcde "sas-library" authadmin=yes;
Use the MODIFY statement to reset the metadata-bound library
passwords and encryption key value.The
PW= option resets the password. The ENCRYPTKEY= option resets the
encryption key value.
proc authlib lib=abcde;
modify
pw=secret
encrypt=aes
encryptkey=value;
run;
quit;
Reissue the LIBNAME statement without the AUTHADMIN=YES
option. It is good practice to reassign
the library without AUTHADMIN=YES as soon as your administrative need
is complete, so that any other access that you make to the library
is not in administrative mode. In this case, it also ensures that
the credentials are reset.
libname abcde "sas-library";