Yandex Cloud
Поиск
Связаться с экспертомПопробовать бесплатно
  • Кейсы
  • Документация
  • Блог
  • Все сервисы
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Neurosupport
    • Yandex Cloud Detection and Response
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • GOST Gateway
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • SourceCraft
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • Статус работы сервисов
  • Marketplace
    • Популярные
    • Инфраструктура и сеть
    • Платформа данных
    • Искусственный интеллект
    • Безопасность
    • Инструменты DevOps
    • Бессерверные вычисления
    • Управление ресурсами
  • Все решения
    • По отраслям
    • По типу задач
    • Экономика платформы
    • Yandex Cloud Trust
    • Техническая поддержка
    • Каталог партнёров
    • Обучение и сертификация
    • Облако для стартапов
    • Облако для крупного бизнеса
    • Центр технологий для общества
    • Облако для интеграторов
    • Поддержка IT-бизнеса
    • Облако для фрилансеров
    • Обучение и сертификация
    • Блог
    • Документация
    • Контент-программа
    • Мероприятия и вебинары
    • Контакты, чаты и сообщества
    • Идеи
    • Калькулятор цен
    • Тарифы
    • Акции и free tier
  • Кейсы
  • Документация
  • Блог
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex Identity and Access Management
  • Безопасное использование Yandex Cloud
  • Управление доступом
  • Правила тарификации
  • Справочник ролей
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
          • Overview
          • CreateEphemeral
  • Метрики Monitoring
  • Аудитные логи Audit Trails
  • История изменений
  • Обучающие курсы

В этой статье:

  • gRPC request
  • CreateEphemeralAccessKeyRequest
  • CreateEphemeralAccessKeyResponse
  1. Справочник API
  2. gRPC (англ.)
  3. Access Key
  4. TemporaryAccessKey
  5. CreateEphemeral

Access Key, gRPC: TemporaryAccessKeyService.CreateEphemeral

Статья создана
Yandex Cloud
Обновлена 15 декабря 2025 г.
Открыть в Markdown
  • gRPC request
  • CreateEphemeralAccessKeyRequest
  • CreateEphemeralAccessKeyResponse

Creates an ephemeral access key for the specified subject.

gRPC requestgRPC request

rpc CreateEphemeral (CreateEphemeralAccessKeyRequest) returns (CreateEphemeralAccessKeyResponse)

CreateEphemeralAccessKeyRequestCreateEphemeralAccessKeyRequest

{
  "subject_id": "string",
  "session_name": "string",
  "policy": "string",
  "duration": "google.protobuf.Duration"
}

Field

Description

subject_id

string

The subject identifier for whom the ephemeral access key will be created.
If not specified, it defaults to the subject that made the request.

The maximum string length in characters is 50.

session_name

string

Required field. Use the session name to uniquely identify a session when the same SA is impersonated by different principals or for different reasons
Pattern: [\w+=,.@-]*

The string length in characters must be 1-64.

policy

string

AWS-compatible policy in JSON format that you want to use as an inline session policy.

The maximum string length in characters is 2048.

duration

google.protobuf.Duration

Duration, which specifies the duration of the ephemeral access key,
but duration won't be longer than the lifetime of the authentication token that made the request

CreateEphemeralAccessKeyResponseCreateEphemeralAccessKeyResponse

{
  "access_key_id": "string",
  "secret": "string",
  "session_token": "string",
  "expires_at": "google.protobuf.Timestamp"
}

Field

Description

access_key_id

string

ID of the access key.
The key is AWS compatible.

secret

string

Secret access key.
The key is AWS compatible.

session_token

string

Session token.
The token is AWS compatible. Should be attached to any call made by provided credentials.

expires_at

google.protobuf.Timestamp

Expiration time.
The date on which the current credentials expire.

Была ли статья полезна?

Предыдущая
Overview
Следующая
Overview
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Проект Яндекса
© 2026 ООО «Яндекс.Облако»