posh-providers/rclone/rclone
2025-09-19 16:29:28 +02:00
..
command.go feat(rclone/rclone): add command 2024-08-09 10:42:14 +02:00
config_test.go feat: generate schema 2025-09-19 16:29:28 +02:00
config.base.json feat: generate schema 2025-09-19 16:29:28 +02:00
config.go feat(rclone/rclone): add command 2024-08-09 10:42:14 +02:00
config.schema.json feat: generate schema 2025-09-19 16:29:28 +02:00
README.md docs: update READMEs 2025-02-21 11:44:54 +01:00

POSH rclone provider

Usage

Plugin

func New(l log.Logger) (plugin.Plugin, error) {
	// ...
  inst.commands.MustAdd(rcloud.NewCommand(l, inst.cache))
	// ...
}

Config

rclone:
  path: .posh/config/rclone.conf
  config: |
    [cloudflare]
    type = s3
    provider = Cloudflare
    access_key_id = {{ op://<vault>/<item>/access key id }}
    secret_access_key = {{ op://<vault>/<item>/secret access key }}
    endpoint = {{ op://<vault>/<item>/endpoint }}
    no_check_bucket = true
    acl = private