Preskoči na sadržaj

Amazon S3

raidrivecli add aws --bucket <bucket>

Ako pohranu dodate bez opcija, od vas će se zatražiti da unesete Access Key ID i Secret Access Key.

$ raidrivecli add aws --bucket mybucket
Access Key ID: <key>
Secret Access Key: ********

Access Key ID ili Secret Access Key možete navesti i kao opcije.

raidrivecli add aws --bucket <bucket> --access-key-id <key>
raidrivecli add aws --bucket <bucket> \
                    --access-key-id <key> \
                    --secret-access-key [secret]

Upozorenje

Naredbe ljuske bilježe se u povijesti. Ako je moguće, preporučujemo da opciji --secret-access-key ne navodite vrijednost.

Ako ne navedete direktorij za montiranje, pohrana se montira u direktorij unutar /mnt, npr. /mnt/aws. Da biste odredili direktorij za montiranje, upotrijebite opciju --mount-path.

raidrivecli add aws --bucket mybucket --mount-path /myservices/aws

Dodatne opcije

--bucket <bucket>                       bucket
--access-key-id <key>                   access key id
--secret-access-key [secret]            secret access key

Pogledajte i