Yandex Cloud
Поиск
Связаться с намиПодключиться
  • Истории успеха
  • Документация
  • Блог
  • Все сервисы
  • Статус работы сервисов
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Контейнеры
    • Инструменты разработчика
    • Бессерверные вычисления
    • Безопасность
    • Мониторинг и управление ресурсами
    • ИИ для бизнеса
    • Бизнес-инструменты
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Безопасность
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Промоакции и free tier
    • Правила тарификации
  • Истории успеха
  • Документация
  • Блог
Проект Яндекса
© 2025 ООО «Яндекс.Облако»
Terraform в Yandex Cloud
  • Начало работы
  • Библиотека решений
    • Обзор
    • История изменений (англ.)
          • organizationmanager_group
          • organizationmanager_group_iam_member
          • organizationmanager_group_mapping
          • organizationmanager_group_mapping_item
          • organizationmanager_group_membership
          • organizationmanager_idp_user
          • organizationmanager_idp_userpool
          • organizationmanager_organization_iam_binding
          • organizationmanager_organization_iam_member
          • organizationmanager_os_login_settings
          • organizationmanager_saml_federation
          • organizationmanager_saml_federation_user_account
          • organizationmanager_user_ssh_key

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

  • Example usage
  • Schema
  • Required
  • Optional
  • Read-Only
  • Nested Schema for ssh_certificate_settings
  • Nested Schema for timeouts
  • Nested Schema for user_ssh_key_settings
  • Import
  1. Справочник Terraform
  2. Ресурсы (англ.)
  3. Cloud Organization
  4. Resources
  5. organizationmanager_os_login_settings

yandex_organizationmanager_os_login_settings (Resource)

Статья создана
Yandex Cloud
Обновлена 7 августа 2025 г.
  • Example usage
  • Schema
    • Required
    • Optional
    • Read-Only
    • Nested Schema for ssh_certificate_settings
    • Nested Schema for timeouts
    • Nested Schema for user_ssh_key_settings
  • Import

Allows management of OsLogin Settings within an existing Yandex Cloud Organization.

Example usageExample usage

//
// Create a new OrganizationManager OS Login Settings.
//
resource "yandex_organizationmanager_os_login_settings" "my_settings" {
  organization_id = "sdf4*********3fr"
  user_ssh_key_settings {
    enabled               = true
    allow_manage_own_keys = true
  }
  ssh_certificate_settings {
    enabled = true
  }
}

SchemaSchema

RequiredRequired

  • organization_id (String) The organization to manage it's OsLogin Settings.

OptionalOptional

  • ssh_certificate_settings (Block List, Max: 1) SSH Certificate settings. (see below for nested schema)
  • timeouts (Block, Optional) (see below for nested schema)
  • user_ssh_key_settings (Block List, Max: 1) Users SSH key settings. (see below for nested schema)

Read-OnlyRead-Only

  • id (String) The ID of this resource.

Nested Schema for Nested Schema for ssh_certificate_settings

Optional:

  • enabled (Boolean) Enables or disables usage of SSH certificates signed by trusted Certification Authority (CA).

Nested Schema for Nested Schema for timeouts

Optional:

  • create (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
  • delete (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
  • read (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
  • update (String) A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

Nested Schema for Nested Schema for user_ssh_key_settings

Optional:

  • allow_manage_own_keys (Boolean) If set to true subject is allowed to manage own ssh keys without having to be assigned specific permissions.
  • enabled (Boolean) Enables or disables usage of ssh keys assigned to a specific subject.

ImportImport

The resource can be imported by using their resource ID. For getting the resource ID you can use Yandex Cloud Web Console or YC CLI.

# terraform import yandex_organizationmanager_os_login_settings.<resource Name> <resource Id>
terraform import yandex_organizationmanager_os_login_settings.my_settings ...

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

Предыдущая
organizationmanager_organization_iam_member
Следующая
organizationmanager_saml_federation
Проект Яндекса
© 2025 ООО «Яндекс.Облако»