Returns an array containing the names (keys) of all secrets available in a configured Secret Provider. This function only returns the secret names, not the actual secret values.
When no provider name is specified, the function aggregates secret names from all configured providers, returning a deduplicated and sorted list.
Lucee Function Reference
secretproviderlistnames()
Example
secretproviderlistnames([string name]):array
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
| Name | Type | Required | Description |
|---|---|---|---|
| name | string | No | Name of the Secret Provider to list secret names from, as configured in .CFConfig.json. If not defined, the function lists secret names from all configured providers. |