Skip to content

Add functionality to write to a temp file through url arguments#5

Merged
kahing merged 6 commits intodatabricks:mainfrom
vaishalikumanan:add-tmp-file
Aug 25, 2021
Merged

Add functionality to write to a temp file through url arguments#5
kahing merged 6 commits intodatabricks:mainfrom
vaishalikumanan:add-tmp-file

Conversation

@vaishalikumanan
Copy link
Copy Markdown
Contributor

@vaishalikumanan vaishalikumanan commented Aug 16, 2021

This feature is similar to the existing option that allows url arguments to be passed in as command line arguments. Instead, we create a temporary file in /tmp/ and write the url arguments to this file, separated by newlines. The temporary file name is then passed to the command as a command line argument.
Because of this behaviour, the command line args option and the temporary file option should be mutually exclusive.

We can then use this to pass secret values to the running process as command line arguments are easily visible through process status.

public PR: tsl0922/ttyd#747

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants