AI-generated Key Takeaways
-
The
decryptSecret
method decrypts the OAuth client secret used in account linking flows, allowing you to view it. -
The HTTP request to decrypt the secret is a POST request to
https://actions.googleapis.com/v2:decryptSecret
. -
The request body requires the
encryptedClientSecret
field, which is the base64-encoded ciphertext of the client secret. -
The response body, if successful, will contain the decrypted
clientSecret
in plaintext.
Decrypts the OAuth client secret used in account linking flows. This can be used to view the client secret (e.g. after pulling a project).
HTTP request
POST https://actions.googleapis.com/v2:decryptSecret
The URL uses gRPC Transcoding syntax.
Request body
The request body contains data with the following structure:
JSON representation | |
---|---|
{ "encryptedClientSecret": string } |
Fields | |
---|---|
encryptedClientSecret |
Required. The account linking client secret ciphertext. A base64-encoded string. |
Response body
If successful, the response body contains data with the following structure:
RPC response for v2.decryptSecret.
JSON representation | |
---|---|
{ "clientSecret": string } |
Fields | |
---|---|
clientSecret |
The account linking client secret plaintext. |