Ga naar inhoud

MinIO

raidrivecli add minio --bucket <bucket> --endpoint <address>

Als je opslag zonder opties toevoegt, vraagt de CLI om Access Key ID en Secret Access Key.

$ raidrivecli add minio --bucket mybucket \
                        --endpoint https://host.minio-server.com
Access Key ID: <access-key-id>
Secret Access Key: ********

Je kunt Access Key ID of Secret Access Key ook als optie opgeven.

raidrivecli add minio --bucket <bucket> --endpoint <address> \
                      --access-key-id <key>
raidrivecli add minio --bucket <bucket> --endpoint <address> \
                      --access-key-id <key> \
                      --secret-access-key [secret]

Waarschuwing

Shell-opdrachten worden in de geschiedenis vastgelegd. Geef de optie --secret-access-key daarom bij voorkeur niet met een waarde op.

Als je geen koppelmap opgeeft, wordt de opslag gekoppeld aan een map onder /mnt, zoals /mnt/minio. Gebruik de optie --mount-path om zelf een koppelmap op te geven.

raidrivecli add minio --bucket mybucket \
                      --endpoint https://host.minio-server.com \
                      --mount-path /myservices/minio

Extra opties

--bucket <bucket>                       bucket
--endpoint <address>                    address (e.g. https://host.example.com)
--access-key-id <key>                   access key id
--secret-access-key [secret]            secret access key

Zie ook