Method: decryptSecret
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
खाता लिंक करने के फ़्लो में इस्तेमाल किए गए OAuth क्लाइंट सीक्रेट को डिक्रिप्ट करता है. इसका इस्तेमाल क्लाइंट सीक्रेट देखने के लिए किया जा सकता है. उदाहरण के लिए, किसी प्रोजेक्ट को पुल करने के बाद.
एचटीटीपी अनुरोध
POST https://actions.googleapis.com/v2:decryptSecret
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य हिस्से में, यहां दिए गए स्ट्रक्चर का डेटा शामिल होता है:
JSON के काेड में दिखाना |
{
"encryptedClientSecret": string
} |
फ़ील्ड |
encryptedClientSecret |
string (bytes format)
ज़रूरी है. क्लाइंट सीक्रेट सादे टेक्स्ट को लिंक करने वाला खाता. base64 कोड में बदली गई स्ट्रिंग.
|
जवाब का मुख्य भाग
अगर एपीआई सही से जुड़ जाता है, ताे जवाब के मुख्य भाग में नीचे दिए गए स्ट्रक्चर शामिल होता है.
v2.decryptSecret के लिए आरपीसी रिस्पॉन्स.
JSON के काेड में दिखाना |
{
"clientSecret": string
} |
फ़ील्ड |
clientSecret |
string
खाता लिंक करने वाला क्लाइंट सीक्रेट सादा टेक्स्ट.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 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. |"]]