Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • 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
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Cloud Registry
  • Getting started
    • All guides
        • Overview
        • Local
        • Remote
        • Virtual
    • Creating a lifecycle policy
  • Access management
  • Pricing policy
  • Terraform reference
  • Audit Trails events
  1. Step-by-step guides
  2. Managing a registry
  3. Creating a registry
  4. Remote

Creating a remote registry

Written by
Yandex Cloud
Updated at July 8, 2026
View in Markdown

Note

A remote registry can be created in any format except binary.

Management console
CLI
API
  1. In the management console, select the folder where you want to create a remote registry.

  2. Navigate to Cloud Registry.

  3. In the left-hand panel, select  Registries.

  4. In the top-right corner, click Create registry.

  5. Select the registry format.

  6. In the Registry type field, select Remote.

  7. Select the source type:

    • Public: Public source.

      Registry format Public source addresses
      Maven Maven Central
      Gradle Plugin Portal
      Axiom
      Npm Npm
      Docker Docker Hub
      NuGet NuGet
      PyPI PyPI
      PyPI Test

      Note

      You can get access to the Axiom public source on request. To activate access to Axiom, create a request to support.

    • Custom: Custom source.

      Specify your custom source address.

  8. Select the authorization type:

    Note

    Authorization is available for custom sources and the Docker Hub public source. For Docker Hub, only the Basic authorization type is available.

    • None: Without authorization.

    • Basic: Authorization by username and password.

    • Bearer: Authorization by Bearer token.

  9. If Basic or Bearer is your selected authorization type:

    1. Create a Yandex Lockbox secret. In the Key field, specify value. In Value, specify as follows:

      • Password, for the Basic authorization type.
      • Bearer token, for the Bearer authorization type.
    2. Grant access to the contents of the secret to the Cloud Registry service agent by assigning it the lockbox.payloadViewer role for this secret.

      Currently, you can only grant this access using the Yandex Cloud CLI command by specifying the ID of the Yandex Lockbox secret containing the password or Bearer token and the ID of the cloud you are creating the registry in:

      yc lockbox secret add-access-binding \
        --id <secret_ID> \
        --role lockbox.payloadViewer \
        --agent cloud-registry:data-plane \
        --cloud-id <cloud_ID>
      
    3. In the registry settings, specify the username (if the authorization type is Basic) and the ID of the Yandex Lockbox secret you created.

  10. Enter a name and description for the registry.

  11. Add labels in key: value format.

  12. Click Create.

To create a remote registry, run this command:

yc cloud-registry registry create \
  --name <registry_name> \
  --description <registry_description> \
  --registry-kind <registry_format> \
  --registry-type remote \
  --properties <registry_properties>

Where:

  • --name: Registry name.

  • --description: Registry description.

  • --registry-kind: Registry format. Available formats: maven, npm, docker, nuget, and pypi.

  • --registry-type: Registry type.

  • --properties: Registry properties. Provide them as a string in name1=value1,name2=value2 format. Available properties for remote registries are as follows:

    • source: Source registry. You can specify a public source or a custom one. Available public sources are as follows:

      Registry format Public source addresses
      maven @maven-central
      @gradle-plugin-portal
      @axiom
      npm @npmjs
      docker @docker-hub
      nuget @nuget
      pypi @pypi
      @pypi-test

      Note

      You can get access to the @axiom public source on request. To activate access to @axiom, create a request to support.

    • authorizationType: Authorization type. Available authorization types: none, basic, and bearer. The default value is none.

      Note

      Authorization is available for custom sources and the @docker-hub public source. For @docker-hub, only the basic authorization type is available.

      If basic or bearer is your specified authorizationType:

      1. Create a Yandex Lockbox secret. Set the key parameter to value; set the key value as follows:

        • Password, where authorizationType set to basic.
        • Bearer token, where authorizationType set to bearer.
      2. Grant access to the contents of the secret to the Cloud Registry service agent by assigning it the lockbox.payloadViewer role for this secret.

        Run the command while specifying the ID of the Yandex Lockbox secret containing the password or Bearer token and the ID of the cloud you are creating the registry in:

        yc lockbox secret add-access-binding \
          --id <secret_ID> \
          --role lockbox.payloadViewer \
          --agent cloud-registry:data-plane \
          --cloud-id <cloud_ID>
        
    • authorizationSecretId: ID of the user secret that stores the password or Bearer token. It is required where authorizationType is set to basic or bearer.

    • authorizationUsername: Username. It is required if authorizationType is basic.

Result:

done (3s)
id: cn1fsnc2dak********
folder_id: b1gc1t4cb638********
name: my-first-registry
kind: DOCKER
type: REMOTE
status: ACTIVE
description: docker
created_at: "2024-11-30T16:11:12.901356Z"
modified_at: "2024-11-30T16:11:16.243323Z"

To create a remote registry, use the create REST API method for the Registry resource or the RegistryService/Create gRPC API call.

In the type field, specify REMOTE.

Was the article helpful?

Previous
Local
Next
Virtual
© 2026 Direct Cursus Technology L.L.C.