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.
Yandex Cloud Registry
  • Getting started
    • All guides
    • Creating a registry
        • Pushing a binary artifact to a registry
        • Pulling a binary artifact from a registry
  • Access management
  • Pricing policy
  • Audit Trails events
  1. Step-by-step guides
  2. Managing artifacts
  3. Binary artifact
  4. Pushing a binary artifact to a registry

Pushing a binary artifact to a registry

Written by
Yandex Cloud
Updated at November 24, 2025

To push a binary artifact, use a POST HTTP request. When sending the request, use authentication with an IAM token. The maximum size of the file to push is 100 MB.

Request example:

curl \
  --request PUT \
  --user "iam:<IAM_token>" \
  --header "X-Checksum-SHA256: <file_hash>" \
  --upload-file <local_path_to_file> \
  https://registry.yandexcloud.net/binaries/<registry_ID>/<artifact_name>/<artifact_version>/<file_name_in_registry>

Where:

  • In the --user authentication parameter, specify the iam username and the IAM token value.

  • In the X-Checksum-SHA256 header, you can specify the hash of the file you are pushing to check the file’s integrity after it is pushed. This is an optional header.

    You can generate the hash, e.g., using this command:

    openssl dgst -sha256 <file_path> | awk '{print $2}'
    
  • In the --upload-file parameter, specify the local path to the file being pushed.

  • The request URL contains the registry URL, the artifact name and version, as well as the file name in the registry. Here is an example:

    https://registry.yandexcloud.net/binaries/cn15fqbr806r********/sample-package/3.5.4/agent-installer.sh
    

Was the article helpful?

Previous
Setting up PyPI
Next
Pulling a binary artifact from a registry
© 2025 Direct Cursus Technology L.L.C.