Skip to main content

SECRET

Deprecated version

This document refers to a deprecated version of the RQL programming language.

Please go here for documentation related to the latest supported version.

Returns the value of a secret registered in the credentials service

Syntax
SECRET(<secret-name>)
Example
SECRET("my-secret")
-- Using a secret to read a protect http location
READ[record(name: string, age: int)]("http://protected", http_token := SECRET("secret-token"))