How to Delete the Proxy Setting Configured with "sft config network.forward_proxy"
Last Updated:
Overview
Administrators must occasionally delete the proxy setting configured with the sft config network.forward_proxy command in Okta Privileged Access (OPA). Overwrite the configuration with an empty value or manually edit the configuration file to remove the proxy setting.
Applies To
- Okta Identity Engine (OIE)
- Okta Classic Engine
- Okta Privileged Access (OPA)
- ScaleFT (sft) command-line tool
Solution
Option 1: Overwrite with an Empty Value
The cleanest way to remove the proxy configuration is to run the same command but pass an empty string "" as the value. This tells the sft client to clear the setting.
sft config network.forward_proxy ""
Option 2: Manually Edit the Configuration File
Completely remove the line from the configuration by editing the sft configuration file directly.
Depending on the Operating System, the file is located here:
-
macOS / Linux:
~/.config/ScaleFT/sft.conf -
Windows:
%USERPROFILE%\.config\ScaleFT\sft.conf
Steps to edit
-
Open the
sft.conffile in a text editor (likenano,vim, or Notepad). -
Locate the section that looks like this:
Plaintext[network] forward_proxy = https://Name-proxy.example.com:3141 -
Delete the
forward_proxyline entirely. -
Save and close the file.
Verification
To verify that the proxy setting has been successfully removed, run:
sft config
This will print the current active configuration. The network.forward_proxy variable should no longer appear in the output.
