Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex Identity and Access Management
  • Безопасное использование Yandex Cloud
  • Управление доступом
  • Правила тарификации
  • Справочник ролей
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • Delete
  • Справочник метрик
  • Аудитные логи Audit Trails
  • История изменений
  • Обучающие курсы

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

  • HTTP request
  • Path parameters
  • Response
  1. Справочник API
  2. REST (англ.)
  3. OAuthClientSecret
  4. Get

Identity and Access Management API, REST: OAuthClientSecret.Get

Статья создана
Yandex Cloud
Обновлена 27 мая 2026 г.
Открыть Markdown
  • HTTP request
  • Path parameters
  • Response

Returns the sepcified OAuthClientSecret resource.
To get the list of available OAuthClientSecret resources, make a List request.

HTTP requestHTTP request

GET https://iam.api.cloud.yandex.net/iam/v1/oauthClientSecrets/{oauthClientSecretId}

Path parametersPath parameters

Field

Description

oauthClientSecretId

string

Required field. ID of the OAuthClientSecret resource to return.
To get the OAuthClientSecret ID, use a OAuthClientSecretService.List request.

The maximum string length in characters is 50.

ResponseResponse

HTTP Code: 200 - OK

{
  "id": "string",
  "oauthClientId": "string",
  "description": "string",
  "maskedSecret": "string",
  "createdAt": "string"
}

An OauthClientSecretResource

Field

Description

id

string

ID of the oauth client secret.

oauthClientId

string

ID of the oauth client that the secret belongs to.

description

string

Description of the oauth client secret.

maskedSecret

string

Masked value of the oauth client secret: yccs__[a-f0-9]{10}\*{4}

createdAt

string (date-time)

Creation timestamp.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

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

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