Identity and Access Management API, REST: OAuthClientSecret.Get
Returns the sepcified OAuthClientSecret resource.
To get the list of available OAuthClientSecret resources, make a List request.
HTTP request
GET https://iam.api.yandexcloud.kz/iam/v1/oauthClientSecrets/{oauthClientSecretId}
Path parameters
|
Field |
Description |
|
oauthClientSecretId |
string Required field. ID of the OAuthClientSecret resource to return. |
Response
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: |
|
createdAt |
string (date-time) Creation timestamp. String in RFC3339 To work with values in this field, use the APIs described in the |