SecretProviderSet()

edit

Sets a secret value in a configured Secret Provider. The value type is automatically detected and stored appropriately as a string, boolean, or integer. Note: Not all Secret Providers support writing. Providers that are read-only (such as environment variables) will throw an exception when attempting to set a value.

Introduced: 7.0.2.94

SecretProviderSet( key=string, value=any, name=string );

Returns: void

Argument Description
key
string, required
edit

Key to store the secret under (e.g., "database.password", "api.key")

value
any, required
edit

The secret value to store. Can be a string, boolean, or integer.

name
string, required
edit

Name of the Secret Provider to write to, as configured in .CFConfig.json.

Examples

There are currently no examples for this function 28,855ms WARN No examples for function SecretProviderSet

See also