secretProviderList

Returns a struct of all secrets from a configured secret provider.

secretProviderList([name] [, resolve]) → returns struct

This function requires Lucee 7.0.2.94 and up.  Not supported on Adobe ColdFusion, etc.

Argument Reference

name string

The secret provider to read from. When omitted, secrets from all providers are returned.

resolve boolean

When true, the values are read immediately. When false, each is read when first used.

Examples
Sample code invoking the secretProviderList function

Signup for cfbreak to stay updated on the latest news from the ColdFusion / CFML community. One email, every friday.

Fork me on GitHub