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 Studio
    • 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
    • Education and Science
    • Yandex Cloud Partner program
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Identity Hub
  • Getting started
    • All guides
    • Subscribing a user to notifications
      • Overview
      • Assigning a user as organization administrator
      • Assigning a role to a user
      • Assigning a role to a user group
      • Viewing roles assigned in an organization
      • Revoking a user's role
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Access management
  3. Assigning a user as organization administrator

Assigning a user as organization administrator

Written by
Yandex Cloud
Updated at June 9, 2025
Cloud Center interface
CLI
Terraform
API
  1. Log in to Yandex Identity Hub using an administrator or organization owner account.

  2. In the left-hand panel, select Access bindings.

  3. At the top right, click Assign bindings.

  4. Select the user you want to assign as an administrator. If required, use the search bar.

  5. Click Add role and select one of the roles:

    • organization-manager.admin.
    • organization-manager.organizations.owner.
  6. Click Save.

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

  1. Get the user ID.

  2. Assign the role using this command:

    yc organization-manager organization add-access-binding <organization_name_or_ID> \
      --role <role_ID> \
      --subject userAccount:<user_ID>
    

    Where:

    • --role: Role ID. Specify either the organization-manager.admin or organization-manager.organizations.owner role.
    • --subject: User ID.

    For example, this command assigns the administrator role for the organization with the bpf3crucp1v2******** ID:

    yc organization-manager organization add-access-binding bpf3crucp1v2******** \
      --role organization-manager.admin \
      --subject userAccount:aje6o61dvog2********
    

If you do not have Terraform yet, install it and configure its Yandex Cloud provider.

  1. Describe the parameters of the roles you assign in the configuration file:

    resource "yandex_organizationmanager_organization_iam_binding" "org_admin_role" {
      organization_id = "<organization_ID>"
      role = "<role_ID>"
      members = [
        "userAccount:<user_ID>",
      ]
    }
    

    Where:

    • organization_id: Organization ID.
    • role: Specify either the organization-manager.admin or organization-manager.organizations.owner role. For each role, you can only use one yandex_organization manager_organization_iam_binding resource.
    • userAccount:<user_ID>: ID of the user Yandex account.

    To learn more about the resources you can create with Terraform, see the Terraform documentation.

  2. Create the resources:

    1. In the terminal, go to the directory where you edited the configuration file.

    2. Make sure the configuration file is correct using this command:

      terraform validate
      

      If the configuration is correct, you will get this message:

      Success! The configuration is valid.
      
    3. Run this command:

      terraform plan
      

      You will see a detailed list of resources. No changes will be made at this step. Terraform will show any errors found in your configuration.

    4. Apply the changes:

      terraform apply
      
    5. Type yes and press Enter to confirm the changes.

The user will thus be assigned the organization administrator role. You can check the new role in the management console.

Use the REST API method updateAccessBindings for the Organization resource or the gRPC API call OrganizationService/UpdateAccessBindings and provide the following in the request:

  • organization-manager.admin or organization-manager.organizations.owner role ID in the roleId parameter for the REST API or role_id for the gRPC API.
  • User ID and type in the subject section.

See alsoSee also

  • Setting up service account access permissions
  • Setting up cloud access permissions
  • Setting up folder access permissions

Was the article helpful?

Previous
Overview
Next
Assigning a role to a user
© 2025 Direct Cursus Technology L.L.C.