mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-27 15:35:55 +03:00
[GH-ISSUE #1169] Pass information securely to scripts #722
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#722
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @NiceGuyIT on GitHub (Jun 13, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1169
Is your feature request related to a problem? Please describe.
I would like to pass information securely to scripts across all platforms. On Linux, the general consensus is to use environmental variables to pass secrets from the parent to the child process. I believe this holds true for Mac. Environmental variables may also work on Windows but I don't know if that is generally accepted.
Describe the solution you'd like
I would like to pass information securely to an executable on all platforms. It would be nice if TRMM can pass information via environmental variables to the script, rather than embedding the info in the script or as a command line parameter to the script.
Describe alternatives you've considered
Currently, I'm thinking of passing an encryption key to the script (embedded, not as an argument), set an environmental variable and then run a binary.
Additional context
I would like to use this for backups. URLs, encryption keys for storage and API keys are some of the information I'd like to keep private between TRMM and the backup process.
@wh1te909 commented on GitHub (Dec 5, 2022):
added in 0.15.4