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 DataSphere
  • Getting started
    • About Yandex DataSphere
    • DataSphere resource relationships
    • Communities
    • Cost management
    • Project
    • Computing resource configurations
      • Overview
      • Secrets
      • Docker images
      • Datasets
      • Yandex Data Processing templates
      • S3 connectors
      • Spark connectors
      • Models
      • File storages
    • Foundation models
    • Quotas and limits
    • Special terms for educational institutions
  • Terraform reference
  • Audit Trails events
  • Access management
  • Pricing policy
  • Public materials
  • Release notes

In this article:

  • Information about a secret as a resource
  • Scope of secrets
  • Use cases
  1. Concepts
  2. Resources
  3. Secrets

Private data storage

Written by
Yandex Cloud
Updated at August 15, 2025
  • Information about a secret as a resource
  • Scope of secrets
  • Use cases

To safely store keys, passwords, and other private information, DataSphere provides a special type of resource called secrets.

A secret is a key-value pair with the value stored in an encrypted format. After you create a secret, you will see *** instead of the value.

Secrets are created in a project and assigned to it. You can use created secrets in a cell code as environment variables to securely connect to data sources and version control systems; you can also use secrets to store keys required to create other resources, such as S3 connectors.

You cannot edit a secret created in a different project, but you can edit its copy.

A copied secret is not linked to the original: you can edit and delete the former without affecting the latter.

Tip

The advantage of secrets is that their values are stored and transferred in encrypted form only and cannot be used when publishing the code and in project logs. Do not output the value of a secret to the screen or assign it to a regular variable.

Information about a secret as a resourceInformation about a secret as a resource

The following information is stored about each secret:

  • Unique resource ID.
  • Resource creator.
  • Creation and last update dates in UTC format, e.g., July 18, 2022, 14:23.

The secret page also contains sample bash and Python code for running the resource in a project cell.

Scope of secretsScope of secrets

Once created, a secret is available for a project. Like any other resource, you can share the secret in the community to use it in other projects. To do this, you need at least the Editor role in the project and the Developer role in the community in which you want to publish it. You can open the access on the Access tab on the secret view page. The secret available to the community will appear on the community page under Community resources.

Use casesUse cases

  • How to create, edit, copy, and delete a secret
  • Classification of images in video frames
  • Creating an MLFlow server for logging experiments and artifacts
  • Deploying a service based on a Docker image

Was the article helpful?

Previous
Overview
Next
Docker images
© 2025 Direct Cursus Technology L.L.C.