You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/auth.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,7 +71,7 @@ Object of one of the following classes:
71
71
72
72
The SDK obtains the IAM token from this environment variable with each request, so you can occasionally update the IAM token in the environment variable yourself outside the SDK. This authentication option is optimal for use with a `service agent <https://yandex.cloud/docs/datasphere/operations/community/create-ssa>`_ in Yandex DataSphere if that service has `access <https://yandex.cloud/docs/iam/concepts/service-control>`_ to other resources in the user's cloud.
73
73
74
-
* :py:class:`yandex_cloud_ml_sdk.auth.YandexCloudCLIAuth` - Allows you to explicitly set authentication as a `user<https://yandex.cloud/docs/iam/concepts/users/accounts>`_ or service account `specified<https://yandex.cloud/docs/cli/operations/#auth>`_ in the `Yandex Cloud CLI<https://yandex.cloud/docs/cli/>`_ profile on the user's computer.
74
+
* :py:class:`yandex_cloud_ml_sdk.auth.YandexCloudCLIAuth` - Allows you to explicitly set authentication as a `user_1<https://yandex.cloud/docs/iam/concepts/users/accounts>`_ or service account `specified_1<https://yandex.cloud/docs/cli/operations/#auth>`_ in the `Yandex Cloud CLI_1<https://yandex.cloud/docs/cli/>`_ profile on the user's computer.
75
75
76
76
Example:
77
77
@@ -105,7 +105,7 @@ If the ``auth`` field is not explicitly set, the SDK will automatically try to s
105
105
5. Authenticate using the IAM token from the ``YC_TOKEN`` environment variable if it is set.
106
106
107
107
The SDK obtains the IAM token from this environment variable with each request, so you can occasionally update the IAM token in the ``YC_TOKEN`` environment variable yourself outside the SDK.
108
-
6. If the previous options fail, the SDK will attempt to authenticate using the IAM token of the `user<https://yandex.cloud/docs/iam/concepts/users/accounts>`_ or service account `specified<https://yandex.cloud/docs/cli/operations/#auth>`_ in the `Yandex Cloud CLI<https://yandex.cloud/docs/cli/>`_ profile on the user's computer.
108
+
6. If the previous options fail, the SDK will attempt to authenticate using the IAM token of the `user_2<https://yandex.cloud/docs/iam/concepts/users/accounts>`_ or service account `specified_2<https://yandex.cloud/docs/cli/operations/#auth>`_ in the `Yandex Cloud CLI_2<https://yandex.cloud/docs/cli/>`_ profile on the user's computer.
0 commit comments