Automate rclone config file encryption

What is the problem you are having with rclone?

Trying to understand if it is possible to automate the encryption of the rclone configuration file?

I would like do the following from a bootstrap (userdata) script in AWS:

  • Install rclone
  • configure AWS and Azure Remotes
  • Encrypt configuration with a provided password

Is this possible to do the encryption step in an non-interactive mode?

Run the command 'rclone version' and share the full output of the command.

Which cloud storage system are you using? (eg Google Drive)

Azure Blob Storage
AWS S3

The command you were trying to run (eg rclone copy /tmp remote:tmp)

Paste command here

The rclone config contents with secrets removed.

Paste config here

A log from the command with the -vv flag

Paste  log here

Work in progress:

maybe you can help to finish it.

Look like @ncw would like some tests for the rc interface added before merging. Somebody has to write them:)

hello and welcome to the forum,

yes, i wrote a script that does that
https://forum.rclone.org/t/possible-to-set-a-password-for-the-rclone-config-file-without-using-rclone-config-2/27703/10?u=asdffdsa

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.