SecretProviderRemove()

edit

Removes a secret from a configured Secret Provider. When no provider name is specified, the function searches all configured providers and removes the secret from the first provider that contains it. Note: Not all Secret Providers support removal. Providers that are read-only (such as environment variables) will throw an exception when attempting to remove a value.

Introduced: 7.0.2.94

SecretProviderRemove( key=string, name=string );

Returns: void

Argument Description
key
string, required
edit

Key of the secret to remove (e.g., "database.password", "api.key")

name
string, optional
edit

Name of the Secret Provider to remove from, as configured in .CFConfig.json. If not defined, the function searches all configured providers and removes from the first one that contains the key.

Examples

There are currently no examples for this function 28,841ms WARN No examples for function SecretProviderRemove

See also