-
Notifications
You must be signed in to change notification settings - Fork 134
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transfer api-key in file not env for condor jobs
On a standard shared HTCondor deployment condor_schedds often allow reading by others and the Environment Classad is readable too - better to pass sensitive information (api keys) via a method that doesn't expose them to the world. This commit writes a secure temp-file under '/tmp' with the api_token in it and transfers that file to the jobs with condor's file-transfer mechanism and sources that file in the spawner prior to execution
- Loading branch information
William Strecker-Kellogg
committed
Oct 12, 2021
1 parent
1decdf2
commit 18e07a6
Showing
1 changed file
with
46 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters