Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request - use env vars for secrets #10

Open
cameronbraid opened this issue Jun 4, 2020 · 1 comment
Open

feature request - use env vars for secrets #10

cameronbraid opened this issue Jun 4, 2020 · 1 comment

Comments

@cameronbraid
Copy link
Contributor

Currently you can see the secrets if you do a ps on the host and see the rclone mount command

Please use env vars when running rclone

from docs

Environment Variables

Rclone can be configured entirely using environment variables. These can be used to set defaults for options or config file entries.

Options

Every option in rclone can have its default set by environment variable.

To find the name of the environment variable, first, take the long option name, strip the leading --, change - to , make upper case and prepend RCLONE.

For example, to always set --stats 5s, set the environment variable RCLONE_STATS=5s. If you set stats on the command line this will override the environment variable setting.

@cameronbraid
Copy link
Contributor Author

cameronbraid commented Jun 4, 2020

I think this will suffice #11

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

No branches or pull requests

1 participant