INVALID_SECRET_LOOKUP error class

SQLSTATE: 22531

Invalid secret lookup:

LIST_SECRETS_FAILED

The LIST_SECRETS table function failed to return the list of available secrets <cause>

SECRET_FUNCTION_KEY_NOT_CONSTANT

The SECRET function requires the secret key as a constant string expression passed in the second argument

SECRET_FUNCTION_LOOKUP_FAILED

The SECRET function failed to find a secret with scope <scope> and key <key> <cause>

SECRET_FUNCTION_NOT_SUPPORTED

The SECRET and LIST_SECRETS functions are not supported.

SECRET_FUNCTION_SCOPE_NOT_CONSTANT

The SECRET function requires the secret scope as a constant string expression passed in the first argument.