mirror of
https://github.com/foomo/posh-providers.git
synced 2025-10-16 12:35:41 +00:00
| .. | ||
| command.go | ||
| config_test.go | ||
| config.base.json | ||
| config.go | ||
| config.schema.json | ||
| README.md | ||
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