Command Line utility that uses encrypted YAML config to set environment variables and then launch the process. Great for running CI/CD scripts, loading encrypted SSH keys into SSH Agent, running AWS CLI, Azure CLI, and many other admin scripts that take sensitive parameters via environment variables.
To try a BETA version on Windows, please download a ZIP file below, extract all content, then run the EXE file (qrs.exe). For macOS, please download ARM or Intel ZIP file, extract the qrs file, then run the "./qrs" command from your terminal. To have QR code displayed correctly, please also set your terminal font to 'Courier New' and Line Spacing to '1'.
- First, please install QRS mobile app then launch the app and choose to create a new Master Key
- Please open the terminal to the folder containing the qrs executable (CLI)
- STEP 1 - INIT - encrypt secrets into the yml file
- run this command: ./qrs init SampleFiles/example1.sh.yml
- please enter some values for demo user and demo password
- the terminal will then display a QR code using ASCII preudographics
- please scan QR code using QRS mobile app
- since this is the first use, the app instances will need to be 'paired'. During Pairing, the CLI application will learn the PubKey of QRS mobile application. Please follow instructions in both mobile and CLI applications
- immediately after pairing, the QRS mobile app will show the Confirmation screen asking you to confirm the DEK key WRAP with your Master Key
- once you press 'Yes' button to confirm the operation, the wrapped DEK will be delivered back to CLI, and CLI will update SampleFiles/example1.sh.yml file saving encrypted DEK key and encrypted data into that file
- STEP 2 - RUN - decrypt secrets, load decrypted secrets into environment variables, run the child process
- run this command: ./qrs run SampleFiles/example1.sh.yml
- please scan QR code using QRS mobile app
- please confirm the operation by pressing 'Yes' in QRS mobile app
- the demo script will ECHO the decrypted values of your environment variables