optable-cli destination create
with the type of destination, the bucket location, and access credentials. You can create as many destinations as you like.optable-cli destination create gcs <bucket> <credentials-path>
, for example:<credentials-path>
is required and should refer to a GCP service account's credential JSON file, which you can download from IAM. The service account must have at least write permissions to the specified bucket (storage.objects.create
).optable-cli destination create s3 <bucket> <access-id> <secret-key>
, for example:<access-id>
and <secret-key>
are required and should specify the AWS access ID and secret associated with a service account having at least write permissions to the specified bucket (s3:PutObject
). --name=<name>
option.region=<region>
to specify an AWS region to use. Automatic selection is used by default. Specify a custom AWS S3 endpoint with --endpoint=<endpoint>
.optable-cli destination list
command. The command returns a list of destinations encoded in JSON. You can use the excellent jq utility to parse and manipulate JSON from the command line. For example, to list just the names and type of all destinations:optable-cli destination archive <id>