Yandex.Cloud Connection¶
The Yandex.Cloud connection type enables the authentication in Yandex.Cloud services.
Configuring the Connection¶
- Service account auth JSON
JSON object as a string.
Example:
{"id": "...", "service_account_id": "...", "private_key": "..."}
- Service account auth JSON file path
Path to the file containing service account auth JSON.
Example:
/home/airflow/authorized_key.json
- OAuth Token
User account OAuth token as a string.
Example:
y3_Vd3eub7w9bIut67GHeL345gfb5GAnd3dZnf08FR1vjeUFve7Yi8hGvc
- SSH public key (optional)
The key will be placed to all created Compute nodes, allowing you to have a root shell there.
- Folder ID (optional)
A folder is an entity to separate different projects within the cloud.
If specified, this ID will be used by default when creating nodes and clusters.
See this guide for details.
- Endpoint (optional)
Use this setting to configure your API endpoint.
Leave blank to use default endpoints.
Default Connection IDs¶
All hooks and operators related to Yandex.Cloud use the yandexcloud_default
connection by default.
Authenticating to Yandex.Cloud¶
Using metadata service¶
If you do not specify any credentials, the connection will attempt to use the metadata service for authentication.
To do this, you need to link your service account with your VM.