corso repo init s3
Bootstraps a new S3 repository and connects it to your m365 account.
corso repo init s3 --bucket <bucket> [flags]
Examples
# Create a new Corso repo in AWS S3 bucket named "my-bucket"
corso repo init s3 --bucket my-bucket
# Create a new Corso repo in AWS S3 bucket named "my-bucket" using a prefix
corso repo init s3 --bucket my-bucket --prefix my-prefix
# Create a new Corso repo in an S3 compliant storage provider
corso repo init s3 --bucket my-bucket --endpoint my-s3-server-endpoint
Flags
Flag | Short | Default | Help |
---|---|---|---|
--passphrase | Passphrase to protect encrypted repository contents | ||
--aws-access-key | S3 access key | ||
--aws-secret-access-key | S3 access secret | ||
--aws-session-token | S3 session token | ||
--bucket | Name of S3 bucket for repo. Required | ||
--prefix | Repo prefix within bucket. | ||
--endpoint | S3 service endpoint. | ||
--disable-tls | false | Disable TLS (HTTPS) | |
--disable-tls-verification | false | Disable TLS (HTTPS) certificate verification. | |
--help | -h | false | help for s3 |
Global and inherited flags
Flag | Short | Default | Help |
---|---|---|---|
--config-file | $HOME/.corso.toml | config file location | |
--debug-api-calls | false | add non-2xx request/response errors to logging | |
--hide-progress | false | turn off the progress bar displays | |
--json | false | output data in JSON format | |
--log-file | corso-<timestamp>.log | location for writing logs, use '-' for stdout | |
--log-format | text | set the log format to text | |
--log-level | info | set the log level to debug | |
--mask-sensitive-data | false | anonymize personal data in log output | |
--no-stats | false | disable anonymous usage statistics gathering | |
--retain-progress | false | retain the progress bar displays after completion | |
--verbose | false | don't hide additional information |