Request-scoped, key-value parameters supplied by a trusted backend such as application middleware or a proxy and evaluated by the SECURE_CONTEXT SQL function.
Only trusted backends should populate SecureContext: authenticate the end user or agent and bind parameter values deterministically on the trusted server before sending the request. Don't let untrusted clients or AI agents directly supply or modify these parameter values.
For defense in depth, SecureContext is input-only and is omitted from Job responses (jobs.get, jobs.list, and jobs.insert), INFORMATION_SCHEMA.JOBS* views, and query execution plans. Parameter keys and values are recorded in Cloud Audit Logs Data Access logs in the secureContextValues field. Values might be truncated if the log entry exceeds audit log size limits.
| JSON representation |
|---|
{ "secureParameterEntries": { object } } |
| Fields | |
|---|---|
secureParameterEntries |
Optional. Key-value map of secure context parameters. Keys must be 1 to 127 characters long and match |