Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI for business
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Terraform in Yandex Cloud
  • Getting started
  • Solution library
    • Overview
    • Release notes
          • 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

In this article:

  • 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 reference
  2. Resources
  3. Cloud Organization
  4. Resources
  5. organizationmanager_os_login_settings

yandex_organizationmanager_os_login_settings (Resource)

Written by
Yandex Cloud
Updated at August 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 ...

Was the article helpful?

Previous
organizationmanager_organization_iam_member
Next
organizationmanager_saml_federation
© 2025 Direct Cursus Technology L.L.C.