Method: decryptSecret
Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
Hesap bağlama akışlarında kullanılan OAuth istemci gizli anahtarının şifresini çözer. Bu, istemci gizli anahtarını görüntülemek için kullanılabilir (ör. bir proje aldıktan sonra).
HTTP isteği
POST https://actions.googleapis.com/v2:decryptSecret
URL, gRPC Kod Dönüştürme söz dizimini kullanır.
İstek içeriği
İstek gövdesi, aşağıdaki yapıya sahip verileri içerir:
JSON gösterimi |
{
"encryptedClientSecret": string
} |
Alanlar |
encryptedClientSecret |
string (bytes format)
Zorunlu. Hesap bağlama istemcisi gizli şifre metni. base64 kodlu bir dize.
|
Yanıt gövdesi
Başarılı olursa yanıt metni aşağıdaki yapıyla birlikte verileri içerir:
v2.decryptSecret için RPC yanıtı.
JSON gösterimi |
{
"clientSecret": string
} |
Alanlar |
clientSecret |
string
Hesap bağlama istemci gizli anahtarı şifrelenmemiş metni.
|
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-26 UTC.
[null,null,["Son güncelleme tarihi: 2025-07-26 UTC."],[[["\u003cp\u003eThis endpoint decrypts the OAuth client secret used in account linking flows, allowing you to view it after actions like pulling a project.\u003c/p\u003e\n"],["\u003cp\u003eIt uses an HTTP POST request to \u003ccode\u003ehttps://actions.googleapis.com/v2:decryptSecret\u003c/code\u003e with the encrypted client secret in the request body.\u003c/p\u003e\n"],["\u003cp\u003eThe request body must contain the \u003ccode\u003eencryptedClientSecret\u003c/code\u003e as a base64-encoded string.\u003c/p\u003e\n"],["\u003cp\u003eThe response body, if successful, will contain the decrypted \u003ccode\u003eclientSecret\u003c/code\u003e as plain text.\u003c/p\u003e\n"]]],[],null,["# Method: decryptSecret\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.DecryptSecretResponse.SCHEMA_REPRESENTATION)\n\nDecrypts the OAuth client secret used in account linking flows. This can be used to view the client secret (e.g. after pulling a project).\n\n### HTTP request\n\n`POST https://actions.googleapis.com/v2:decryptSecret`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation ||\n|---------------------------------------------|---|\n| ``` { \"encryptedClientSecret\": string } ``` |\n\n| Fields ||\n|-------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `encryptedClientSecret` | `string (`[bytes](https://developers.google.com/discovery/v1/type-format)` format)` Required. The account linking client secret ciphertext. A base64-encoded string. |\n\n### Response body\n\nIf successful, the response body contains data with the following structure:\nRPC response for v2.decryptSecret.\n\n| JSON representation ||\n|------------------------------------|---|\n| ``` { \"clientSecret\": string } ``` |\n\n| Fields ||\n|----------------|-------------------------------------------------------|\n| `clientSecret` | `string` The account linking client secret plaintext. |"]]