Skip to content

Commit 5ff0d8f

Browse files
committed
Update auth.rst
1 parent 83158b7 commit 5ff0d8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/auth.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ Object of one of the following classes:
7171
7272
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.
7373

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.
7575

7676
Example:
7777

@@ -105,7 +105,7 @@ If the ``auth`` field is not explicitly set, the SDK will automatically try to s
105105
5. Authenticate using the IAM token from the ``YC_TOKEN`` environment variable if it is set.
106106

107107
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.
109109

110110
.. note::
111111

0 commit comments

Comments
 (0)