Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Identity and Access Management
KZ
  • Безопасное использование Yandex Cloud
  • Управление доступом
  • Правила тарификации
  • Справочник ролей
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • GetByLogin
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • История изменений
  • Обучающие курсы

В этой статье:

  • gRPC request
  • GetUserAccountByLoginRequest
  • UserAccount
  • YandexPassportUserAccount
  • SamlUserAccount
  • Attribute
  1. Справочник API
  2. gRPC (англ.)
  3. YandexPassportUserAccount
  4. GetByLogin

Identity and Access Management API, gRPC: YandexPassportUserAccountService.GetByLogin

Статья создана
Yandex Cloud
Обновлена 27 мая 2026 г.
Открыть в Markdown
  • gRPC request
  • GetUserAccountByLoginRequest
  • UserAccount
  • YandexPassportUserAccount
  • SamlUserAccount
  • Attribute

Returns the specified YandexPassportUserAccount resource.

gRPC requestgRPC request

rpc GetByLogin (GetUserAccountByLoginRequest) returns (UserAccount)

GetUserAccountByLoginRequestGetUserAccountByLoginRequest

{
  "login": "string"
}

Field

Description

login

string

Required field. Login of the YandexPassportUserAccount resource to return.

The maximum string length in characters is 100.

UserAccountUserAccount

{
  "id": "string",
  // Includes only one of the fields `yandex_passport_user_account`, `saml_user_account`
  "yandex_passport_user_account": {
    "login": "string",
    "default_email": "string"
  },
  "saml_user_account": {
    "federation_id": "string",
    "name_id": "string",
    "attributes": "map<string, Attribute>"
  },
  // end of the list of possible fields
  "last_authenticated_at": "google.protobuf.Timestamp"
}

Currently represents only Yandex account.

Field

Description

id

string

ID of the user account.

yandex_passport_user_account

YandexPassportUserAccount

A YandexPassportUserAccount resource.

Includes only one of the fields yandex_passport_user_account, saml_user_account.

saml_user_account

SamlUserAccount

A SAML federated user.

Includes only one of the fields yandex_passport_user_account, saml_user_account.

last_authenticated_at

google.protobuf.Timestamp

YandexPassportUserAccountYandexPassportUserAccount

A YandexPassportUserAccount resource.
For more information, see Yandex account.

Field

Description

login

string

Login of the Yandex user account.

default_email

string

Default email of the Yandex user account.

SamlUserAccountSamlUserAccount

A SAML federated user.
For more information, see federations.

Field

Description

federation_id

string

Required field. ID of the federation that the federation belongs to.

The maximum string length in characters is 50.

name_id

string

Required field. Name Id of the SAML federated user.
The name is unique within the federation. 1-256 characters long.

The string length in characters must be 1-256.

attributes

object (map<string, Attribute>)

Additional attributes of the SAML federated user.

AttributeAttribute

Field

Description

value[]

string

Была ли статья полезна?

Предыдущая
Overview
Следующая
Overview
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»