How to Retrieve Access Key and Secret Key From Your Object Storage Provider

Amazon Web Service

Please refer to their official document on Managing Access Keys for Your AWS Account

Note: You only have one chance to download or see your secret key when creating your key, but you can create new keys at any time.

Google Cloud Platform

First, you should create a project in the console of Google Cloud Platform, please remember your Project ID :

_images/gcp-project-id.png

Download and install gcloud SDK

$ curl https://sdk.cloud.google.com | bash

Run the following command after installation:

$ sudo gcloud auth application-default login

Congratulation, you have done the authentication job that would be executed only once.

Finally, you could run sudo ./juicefs mount to mount your JuiceFS filesystem, the Project ID will be requested (you could set it as GOOGLE_CLOUD_PROJECT in environment variable.)

When you mount a filesystem with sudo, you also should run gcloud auth with sudo. Otherwise, the JuiceFS may not load the credential.

If JuiceFS is used inside Compute Engine, it’s recommanded to grant the virtual machines full access to Storage API.

Microsoft Azure

We ONLY provide the service at Microsoft Azure Chinese Region, We’re very pleasure to open other regions if you need, please contact us.

When the JuiceFS use the Azure Blog Storage as the underlying storage, you should create a storage account. Find Storage Accounts from the navigation of left panel.

_images/azure-storage-account.png

Create a new account in Storage accounts, the name will be requested at mounting the JuiceFS filesystem, the account kind should be “Blog stroage”.

_images/azure-create-storage-account.png

Enter the Access key from your storage account, there’re two keys available.

_images/azure-storage-access-key.png

Aliyun

Enter the object storage console, you could see the enterance of Access Key:

_images/aliyun-oss-key-1.png

Create a key for JuiceFS mount:

_images/aliyun-oss-key-2.png

Tencent Cloud

If your filesystem is on the Tencent COS, you should provide AppID, Secret ID, Secret Key.

First, login the console, AppID is in the Account Info.

_images/tencent-account-appid.png

Secret ID and Secret Key are managed in the API Key Management, you need to create a pair if it’s empty.

_images/tencent-keys.png

UCloud

Login the UCloud console, you’ll find your API key in UAPI in the Monitoring management of Product and service.

_images/ucloud-key.png

QingCloud

Login the Qingcloud Console, you’ll find Access Keys in the dropdown menu of your account at the right corner.

_images/qingcloud-key.png

KSYun

Please refer to their official document on User Access Key Management (Chinese).

Qiniu

Please refer to their official document on How to get Access Key and Secret Key (Chinese).

Baidu Cloud

Login the Baidu Cloud Console, enter the Security Authentication in the dropdown menu of the account at the right-upper corner of the page.

_images/baidu-bos-key.png