Skip to content

Commit f219acb

Browse files
Remove custom credentials for snapshot and restore for oci and s3 (#520)
1 parent 90f2a6d commit f219acb

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

vcluster/manage/backup-restore.mdx

-11
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ The following flags are supported for the `oci` protocol:
5454
Example how to create a snapshot to an OCI image registry:
5555
```bash
5656
vcluster snapshot my-vcluster "oci://ghcr.io/my-user/my-repo:my-tag"
57-
58-
# with custom credentials
59-
export OCI_USERNAME=my-username
60-
export OCI_PASSWORD=my-password
61-
vcluster snapshot my-vcluster "oci://ghcr.io/my-user/my-repo:my-tag?username=$OCI_USERNAME&password=$OCI_PASSWORD"
6257
```
6358

6459
#### s3
@@ -74,12 +69,6 @@ The following flags are supported for the `s3` protocol:
7469
Example how to create a snapshot to an s3 compatible bucket:
7570
```bash
7671
vcluster snapshot my-vcluster "s3://my-s3-bucket/my-bucket-key"
77-
78-
# with custom credetials
79-
export AWS_ACCESS_KEY_ID=my-access-key-id
80-
export AWS_SECRET_ACCESS_KEY=my-secret-access-key
81-
export AWS_SESSION_TOKEN=my-session-token
82-
vcluster snapshot my-vcluster "s3://my-s3-bucket/my-bucket-key?access-key-id=$AWS_ACCESS_KEY_ID&secret-access-key=$AWS_SECRET_ACCESS_KEY&session-token=$AWS_SESSION_TOKEN"
8372
```
8473

8574
#### container

0 commit comments

Comments
 (0)