Step 1: configured AWS CLi on host.
which creates the config and credentiala file in /home/username/.aws/
the credential file contains the access KeyId and Secret which I don't want user to see
Step 2: run proc s3 which used those credentials to list a bucket and perform other operations;
Proc s3;
list "bucket-name";
run;
Step 3: This step is what I don't want users to be able to do but I cannot remove read permission on the credentials file;
filename secrets "/home/didie.muyco/.aws/credentials";
proc import datafile=secrets out=credentials dbms=dlm;
run;
The above import exports the credentials into SAS and end users can see it 😞
How can I work around this?