velero configure-aws-s3
Configures snapshots to use an AWS S3 Bucket as a storage destination. This command supports auth via IAM User Access Keys and IAM Instance Roles for the velero-plugin-for-aws.
Valid Subcommands:
access-key
instance-role
Usage
kubectl kots velero configure-aws-s3 [subcommand]
Flag | Type | Description |
---|---|---|
-h, --help | help for configure-aws-s3 |
access-key
kubectl kots velero configure-aws-s3 access-key [flags]
- Provide
[flags]
according to the table below
Flag | Type | Description |
---|---|---|
-h, --help | help for access-key | |
-n, --namespace | string | the namespace of the Admin Console (required) |
--access-key-id | string | the aws access key id to use for accessing the bucket (required) |
--bucket | string | name of the object storage bucket where backups should be stored (required) |
--path | string | path to a subdirectory in the object store bucket |
--region | string | the region where the bucket exists (required) |
--secret-access-key | string | the aws secret access key to use for accessing the bucket (required) |
--skip-validation | bool | skip the validation of the S3 Bucket (default false ) |
Example
kubectl kots velero configure-aws-s3 access-key --namespace default --region us-east-1 --bucket kots-snaps --access-key-id XXXXXXXJTJB7M2XZUV7D --secret-access-key <secret access key here>
instance-role
kubectl kots velero configure-aws-s3 instance-role [flags]
- Provide
[flags]
according to the table below
Flag | Type | Description |
---|---|---|
-h, --help | help for access-key | |
-n, --namespace | string | the namespace of the Admin Console (required) |
--bucket | string | name of the object storage bucket where backups should be stored (required) |
--path | string | path to a subdirectory in the object store bucket |
--region | string | the region where the bucket exists (required) |
--skip-validation | bool | skip the validation of the S3 Bucket (default false ) |
Example
kubectl kots velero configure-aws-s3 instance-role --namespace default --region us-east-1 --bucket kots-snaps