Yandex Cloud
Документация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ТОО «Облачные Сервисы Казахстан»
Yandex Identity Hub
KZ
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация
      • Overview
        • Overview
        • Create
        • Update
        • Activate
        • Deactivate
        • Delete
        • Get
        • List
        • UpdateAudience
        • ListAudience
        • UpdateExcludedAudience
        • ListExcludedAudience
  • Аудитные логи Audit Trails
  • История изменений
  • История изменений Yandex Identity Hub Sync Agent
  • Обучающие курсы

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

  • gRPC request
  • GetMfaEnforcementRequest
  • MfaEnforcement
  1. Справочник API
  2. gRPC (англ.)
  3. MfaEnforcement
  4. Get

Identity Hub API, gRPC: MfaEnforcementService.Get

Статья создана
Yandex Cloud
Обновлена 19 октября 2026 г.
Открыть Markdown
  • gRPC request
  • GetMfaEnforcementRequest
  • MfaEnforcement

returns the specified MFA enforcement

gRPC requestgRPC request

rpc Get (GetMfaEnforcementRequest) returns (MfaEnforcement)

GetMfaEnforcementRequestGetMfaEnforcementRequest

{
  "mfa_enforcement_id": "string"
}

Field

Description

mfa_enforcement_id

string

Required field. id of the MFA enforcement

The maximum string length in characters is 50.

MfaEnforcementMfaEnforcement

{
  "id": "string",
  "organization_id": "string",
  "acr_id": "string",
  "ttl": "google.protobuf.Duration",
  "status": "MfaEnforcementStatus",
  "apply_at": "google.protobuf.Timestamp",
  "enroll_window": "google.protobuf.Duration",
  "name": "string",
  "description": "string",
  "created_at": "google.protobuf.Timestamp",
  "sspr_policies": [
    "string"
  ]
}

MFA enforcement resource

Field

Description

id

string

id of the MFA enforcement

organization_id

string

organization id of the MFA enforcement

acr_id

string

acr id of the MFA enforcement

ttl

google.protobuf.Duration

the period during which the entered MFA factor is considered valid and the
corresponding acr is regarded as satisfied

status

enum MfaEnforcementStatus

MFA enforcement status

  • MFA_ENFORCEMENT_STATUS_ACTIVE: MFA is activated.
  • MFA_ENFORCEMENT_STATUS_INACTIVE: MFA is inactive.
  • MFA_ENFORCEMENT_STATUS_DELETING: MFA is deleting.

apply_at

google.protobuf.Timestamp

the MFA enforcement application start time.

enroll_window

google.protobuf.Duration

the time window during which the user is allowed to create an MFA profile.
this window is measured relative to the MFA enforcement application start time
and the user's most recent successful authentication that falls under the rule
(or the user's creation time, if there has been no authentication).

name

string

name of the MFA enforcement

description

string

description of the MFA enforcement

created_at

google.protobuf.Timestamp

creation timestamp

sspr_policies[]

string

sspr_policies for the MFA enforcement. Accepted values: 'mfa', 'two-any',
specification https://yandex.cloud/en/docs/organization/concepts/sspr

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

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