Skip to main content

keys_legacy_secret_key

Creates, updates, deletes, gets or lists a keys_legacy_secret_key resource.

Overview

Namekeys_legacy_secret_key
TypeResource
Idgoogle.recaptchaenterprise.keys_legacy_secret_key

Fields

NameDatatypeDescription
legacySecretKeystringThe 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

NameAccessible byRequired ParamsDescription
retrieve_legacy_secret_keySELECTkeysId, projectsIdReturns 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 examples

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 keysId = '{{ keysId }}'
AND projectsId = '{{ projectsId }}';