airflow.providers.yandex.utils.credentials
¶
Module Contents¶
Functions¶
|
Return credentials JSON for Yandex Cloud SDK based on credentials. |
|
Return Yandex Cloud Service Account key loaded from JSON string or file. |
|
Return Yandex Cloud Service Account ID loaded from JSON string or file. |
Attributes¶
- airflow.providers.yandex.utils.credentials.get_credentials(oauth_token=None, service_account_json=None, service_account_json_path=None)[source]¶
Return credentials JSON for Yandex Cloud SDK based on credentials.
Credentials will be used with this priority:
OAuth Token
Service Account JSON file
Service Account JSON
Metadata Service
- airflow.providers.yandex.utils.credentials.get_service_account_key(service_account_json=None, service_account_json_path=None)[source]¶
Return Yandex Cloud Service Account key loaded from JSON string or file.