YandexDisk connect
Follow these steps to connect YandexDisk:
-
Create, an app at this link https://oauth.yandex.ru/client/new/
-
Give your service a name and select the ‘Web-services’ platform
-
In the ‘Redirect URI’ field specify: https://oauth.yandex.ru/verification_code
-
Then, one by one, insert these permissions into the field for the requested access rights:
cloud_api:disk.read
cloud_api:disk.write
cloud_api:disk.info
-
Click the create button and you will be taken to your application page
-
Specify yandex as your cloud
fcloud config cloud yandex
-
Set the ClientID and Client secret in fcloud using the following commands:
fcloud config set-parametr YANDEX client_id <your ClientID here> fcloud config set-parametr YANDEX client_secret <your Client secret here>
-
Generate access key
fcloud yandex get-token
You will receive a unique link that you will need to click on. After your account has been compromised, you will receive an authorisation code which you will need to provide to fcloud.
-
Add a folder to save files to the cloud
fcloud config folder /my_folder
Use to add a folder where by default all files that you will upload using fcloud will be saved.
Important
Before how to add a folder, create one in your cloud
Done! Now you can make full use of fcloud
Learn more about how to use it here