Save one-time secret to a .env file
ncrypted_to_dotenvWrites a secret from an ncrypted single-use link directly into a local .env file as KEY=value with mode 600, keeping it hidden and warning if the file is not git-ignored.
Instructions
Open an ncrypted link and write its value into a local .env file (KEY=value, file mode 600) without showing it to you. Warns if the file isn't git-ignored.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Variable name. | |
| link | Yes | ||
| path | No | Path to the .env file. Default: ./.env | |
| passphrase | No |