Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • 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
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex IoT Core
    • All guides
    • Sending messages
    • Subscribing a device or registry to receive messages
    • Exporting messages to Data Streams
    • Viewing the connection log
      • Getting information about registries
      • Creating a registry
      • Updating a registry
      • Enabling and disabling a registry
      • Deleting a registry
    • Viewing operations with the service's resources
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Updating the name of a registry
  • Updating the description of a registry
  • Managing registry labels
  • Adding a label
  • Updating a label
  • Deleting a label
  1. Step-by-step guides
  2. Managing registries
  3. Updating a registry

Updating a registry

Written by
Yandex Cloud
Updated at May 13, 2025
  • Updating the name of a registry
  • Updating the description of a registry
  • Managing registry labels
    • Adding a label
    • Updating a label
    • Deleting a label

You can edit a registry name or description and manage registry labels.

To access a registry, use its ID or name. For information about how to get the registry ID or name, see Getting information about registries

Updating the name of a registry

Management console
CLI
Terraform
API

To update the name of a registry:

  1. In the management console, select the folder to update the registry name in.
  2. Select IoT Core.
  3. To the right of the registry name, click and select Edit from the drop-down list.
  4. Edit the Name field.
  5. Click Save.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

Change the registry name:

yc iot registry update my-registry --new-name test-registry

Result:

id: b91ki3851hab********
folder_id: aoek49ghmknn********
created_at: "2019-05-28T11:29:42.420Z"
name: test-registry

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the documentation on the Terraform website or mirror website.

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

To update the name of a registry created using Terraform:

  1. Open the Terraform configuration file and edit the name parameter value in the registry description fragment.

    Example registry description in the Terraform configuration:

    resource "yandex_iot_core_registry" "my_registry" {
      name        = "test-registry"
      description = "test registry for terraform provider documentation"
      }
    ...
    }
    

    For more information about the yandex_iot_core_registry resource parameters in Terraform, see the relevant provider documentation.

  2. In the command line, change to the folder where you edited the configuration file.

  3. 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.
    
  4. Run this command:

    terraform plan
    

    You will see a detailed list of resources. No changes will be made at this step. If the configuration contains any errors, Terraform will point them out.

  5. Apply the changes:

    terraform apply
    
  6. Confirm the changes: type yes into the terminal and press Enter.

    You can verify the updated registry name in the management console or using the following CLI command:

    yc iot registry list
    

To rename a registry, use the update REST API method for the Registry resource or the RegistryService/Update gRPC API call.

Updating the description of a registry

Management console
CLI
Terraform
API

To update the description of a registry:

  1. In the management console, select the folder to update the registry description in.
  2. Select IoT Core.
  3. To the right of the registry name, click and select Edit from the drop-down list.
  4. Edit the Description field.
  5. Click Save.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

Change the registry description:

yc iot registry update my-registry --description "My test registry."

Result:

id: b91ki3851hab********
folder_id: aoek49ghmknn********
created_at: "2019-05-28T11:29:42.420Z"
name: my-registry
description: My test registry.
labels:
  test_label: my_registry_label

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the documentation on the Terraform website or mirror website.

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

To update the description of a registry created using Terraform:

  1. Open the Terraform configuration file and edit the description parameter value in the registry description fragment.

    Example registry description in the Terraform configuration:

    resource "yandex_iot_core_registry" "my_registry" {
      name        = "test-registry"
      description = "test registry for terraform provider documentation"
      }
    ...
    }
    

    For more information about the yandex_iot_core_registry resource parameters in Terraform, see the relevant provider documentation.

  2. In the command line, change to the folder where you edited the configuration file.

  3. 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.
    
  4. Run this command:

    terraform plan
    

    You will see a detailed list of resources. No changes will be made at this step. If the configuration contains any errors, Terraform will point them out.

  5. Apply the changes:

    terraform apply
    
  6. Confirm the changes: type yes into the terminal and press Enter.

    You can verify the updated registry description in the management console or using the following CLI command:

    yc iot registry get <registry_name>
    

To update a registry description, use the update REST API method for the Registry resource or the RegistryService/Update gRPC API call.

Managing registry labels

You can perform the following actions related to registry labels:

  • Add
  • Edit
  • Delete

Adding a label

Management console
CLI
Terraform
API

To add a registry label:

  1. In the management console, select the folder to add the registry label to.
  2. Select IoT Core.
  3. To the right of the registry name, click and select Edit from the drop-down list.
  4. Fill in the Key and Value fields and click Add label.
  5. Click Save.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

Add a label to a registry:

yc iot registry add-labels my-registry --labels new_label=test_label

Result:

id: b91ki3851hab********
folder_id: aoek49ghmknn********
created_at: "2019-05-28T11:29:42.420Z"
name: my-registry
labels:
  new_label: test_label

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the documentation on the Terraform website or mirror website.

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

To add a label to a registry created using Terraform:

  1. In the configuration file, describe the parameters of the resource to create:

    • yandex_iot_core_registry: Registry parameters:
      • name: Registry name.
      • description: Registry description.
      • labels: Registry labels in key:value format.

    Here is an example of the resource structure in the configuration file:

    resource "yandex_iot_core_registry" "my_registry" {
      name        = "test-registry"
      description = "test registry for terraform provider documentation"
      labels = {
        new-label = "test-label"
      }
    ...
    }
    

    For more information about the yandex_iot_core_registry resource parameters in Terraform, see the relevant provider documentation.

  2. In the command line, change to the folder where you edited the configuration file.

  3. 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.
    
  4. Run this command:

    terraform plan
    

    You will see a detailed list of resources. No changes will be made at this step. If the configuration contains any errors, Terraform will point them out.

  5. Apply the changes:

    terraform apply
    
  6. Confirm the changes: type yes into the terminal and press Enter.

    You can verify registry labels using the following CLI command:

    yc iot registry get <registry_name>
    

To add a label to a registry, use the update REST API method for the Registry resource or the RegistryService/Update gRPC API call.

Updating a label

Management console
CLI
Terraform
API

To update the label of a registry:

  1. In the management console, select the folder to update the registry label in.
  2. Select IoT Core.
  3. To the right of the registry name, click and select Edit from the drop-down list.
  4. Edit the Key and Value fields.
  5. Click Save.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

Change a registry label:

Warning

The existing labels (labels) will be completely overwritten by the ones you provide in your request.

yc iot registry update my-registry --labels test_label=my_registry_label

Result:

id: b91ki3851hab********
folder_id: aoek49ghmknn********
created_at: "2019-05-28T11:29:42.420Z"
name: my-registry
labels:
  test_label: my_registry_label

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the documentation on the Terraform website or mirror website.

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

To update the label of a registry created using Terraform:

  1. Open the Terraform configuration file and edit the label value in the labels section, in the registry description fragment.

    Example registry description in the Terraform configuration:

    resource "yandex_iot_core_registry" "my_registry" {
      name        = "test-registry"
      description = "test registry for terraform provider documentation"
      labels = {
        test-label = "my-registry-label"
      }
    ...
    }
    

    For more information about the yandex_iot_core_registry resource parameters in Terraform, see the relevant provider documentation.

  2. In the command line, change to the folder where you edited the configuration file.

  3. 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.
    
  4. Run this command:

    terraform plan
    

    You will see a detailed list of resources. No changes will be made at this step. If the configuration contains any errors, Terraform will point them out.

  5. Apply the changes:

    terraform apply
    
  6. Confirm the changes: type yes into the terminal and press Enter.

    You can verify registry labels using the following CLI command:

    yc iot registry get <registry_name>
    

To update a registry label, use the update REST API method for the Registry resource or the RegistryService/Update gRPC API call.

Deleting a label

Management console
CLI
Terraform
API

To delete a registry label:

  1. In the management console, select the folder to delete the registry label from.
  2. Select IoT Core.
  3. To the right of the registry name, click and select Edit from the drop-down list.
  4. To the right of the label to delete, click .
  5. Click Save.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

Delete a registry label:

yc iot registry remove-labels my-registry --labels new_label

Result:

id: b91ki3851hab********
folder_id: aoek49ghmknn********
created_at: "2019-05-28T11:29:42.420Z"
name: my-registry

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the documentation on the Terraform website or mirror website.

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

To delete the label of a registry created using Terraform:

  1. Open the Terraform configuration file and delete the label value in the labels section, in the registry description fragment. To delete all labels, delete the entire labels section.

    Example registry description in the Terraform configuration:

    resource "yandex_iot_core_registry" "my_registry" {
      name        = "test-registry"
      description = "test registry for terraform provider documentation"
      labels = {
        test-label = "my-registry-label"
      }
    ...
    }
    

    For more information about the yandex_iot_core_registry resource parameters in Terraform, see the relevant provider documentation.

  2. In the command line, change to the folder where you edited the configuration file.

  3. 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.
    
  4. Run this command:

    terraform plan
    

    You will see a detailed list of resources. No changes will be made at this step. If the configuration contains any errors, Terraform will point them out.

  5. Apply the changes:

    terraform apply
    
  6. Confirm the changes: type yes into the terminal and press Enter.

    You can verify registry labels using the following CLI command:

    yc iot registry get <registry_name>
    

To delete a registry label, use the update REST API method for the Registry resource or the RegistryService/Update gRPC API call.

Was the article helpful?

Previous
Creating a registry
Next
Enabling and disabling a registry
© 2025 Direct Cursus Technology L.L.C.