Skip to main content

remove_credentials

Function remove_credentials 

Source
pub fn remove_credentials() -> Result<bool>
Expand description

Removes Datadog credential keys from ~/.omni-dev/settings.json — from the active profile’s env map when a profile is active, the base env otherwise (issue #1116).

Leaves all other settings intact. Returns true if any Datadog key was present and removed, false when the targeted map was already free of them (or the file did not exist).