[Документация Yandex Cloud](../../../../index.md) > [Yandex Identity and Access Management](../../../index.md) > Справочник API > [gRPC (англ.)](../index.md) > [OAuthClientSecret](index.md) > Get

# Identity and Access Management API, gRPC: OAuthClientSecretService.Get

Returns the sepcified OAuthClientSecret resource.
To get the list of available OAuthClientSecret resources, make a [List](list.md#List) request.

## gRPC request

**rpc Get ([GetOAuthClientSecretRequest](#yandex.cloud.iam.v1.GetOAuthClientSecretRequest)) returns ([OAuthClientSecret](#yandex.cloud.iam.v1.OAuthClientSecret))**

## GetOAuthClientSecretRequest {#yandex.cloud.iam.v1.GetOAuthClientSecretRequest}

```json
{
  "oauth_client_secret_id": "string"
}
```

#|
||Field | Description ||
|| oauth_client_secret_id | **string**

Required field. ID of the OAuthClientSecret resource to return.
To get the OAuthClientSecret ID, use a [OAuthClientSecretService.List](list.md#List) request.

The maximum string length in characters is 50. ||
|#

## OAuthClientSecret {#yandex.cloud.iam.v1.OAuthClientSecret}

```json
{
  "id": "string",
  "oauth_client_id": "string",
  "description": "string",
  "masked_secret": "string",
  "created_at": "google.protobuf.Timestamp"
}
```

An OauthClientSecretResource

#|
||Field | Description ||
|| id | **string**

ID of the oauth client secret. ||
|| oauth_client_id | **string**

ID of the oauth client that the secret belongs to. ||
|| description | **string**

Description of the oauth client secret. ||
|| masked_secret | **string**

Masked value of the oauth client secret: `yccs__[a-f0-9]{10}\*{4}` ||
|| created_at | **[google.protobuf.Timestamp](https://developers.google.com/protocol-buffers/docs/reference/google.protobuf#timestamp)**

Creation timestamp. ||
|#