GetSecret()
Returns a reference to a secret value stored in a configured Secret Provider. The function doesn't immediately return the actual value, but rather a value object that can be handled by Lucee like a simple value.
This reference is automatically resolved to its actual value when:
- It's converted to a real simple value (string, boolean, number, date)
- It's used in operations requiring a simple value
When used, the function automatically validates that the secret exists and throws an exception if not found.
Introduced: 7.0.0.197
GetSecret( key=string, name=string );
Returns: any
Examples
There are currently no examples for this function 20,179ms WARN No examples for function GetSecretSee also
- Lucee Server related Tags, Functions and Guides
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)