SecretProviderList()
Returns a struct containing all secrets from a configured Secret Provider. Each key in the struct corresponds to a secret name, and each value is a reference object (similar to SecretProviderGet) that resolves to the actual secret value when used. When no provider name is specified, the function aggregates secrets from all configured providers. If the same secret key exists in multiple providers, the first provider (in configuration order) takes precedence.
Introduced: 7.0.2.94
SecretProviderList( name=string, resolve=boolean );
Returns: Struct
| Argument | Description |
|---|---|
|
name
string,
optional
|
edit
Name of the Secret Provider to list secrets from, as configured in .CFConfig.json. If not defined, the function lists secrets from all configured providers. |
|
resolve
boolean,
optional
|
edit
If set to true, all secrets are resolved immediately. If set to false (default), secrets are resolved when used. Introduced: 7.0.2.96 |
Examples
There are currently no examples for this function 28,824ms WARN No examples for function SecretProviderListSee also
- Search Issue Tracker open_in_new
- Search Lucee Test Cases open_in_new (good for further, detailed examples)