keys_legacy_secret_key
Creates, updates, deletes, gets or lists a keys_legacy_secret_key
resource.
Overview
Name | keys_legacy_secret_key |
Type | Resource |
Id | google.recaptchaenterprise.keys_legacy_secret_key |
Fields
The following fields are returned by SELECT
queries:
- retrieve_legacy_secret_key
Successful response
Name | Datatype | Description |
---|---|---|
legacySecretKey | string | The secret key (also known as shared secret) authorizes communication between your application backend and the reCAPTCHA Enterprise server to create an assessment. The secret key needs to be kept safe for security purposes. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
retrieve_legacy_secret_key | select | projectsId , keysId | Returns the secret key related to the specified public key. You must use the legacy secret key only in a 3rd party integration with legacy reCAPTCHA. |
Parameters
Parameters can be passed in the WHERE
clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
Name | Datatype | Description |
---|---|---|
keysId | string | |
projectsId | string |
SELECT
examples
- retrieve_legacy_secret_key
Returns the secret key related to the specified public key. You must use the legacy secret key only in a 3rd party integration with legacy reCAPTCHA.
SELECT
legacySecretKey
FROM google.recaptchaenterprise.keys_legacy_secret_key
WHERE projectsId = '{{ projectsId }}' -- required
AND keysId = '{{ keysId }}' -- required;