From 44579034e592b580bc24bcf1c086312978e33e95 Mon Sep 17 00:00:00 2001 From: Stephen Buttolph Date: Wed, 31 Jan 2024 13:54:59 -0500 Subject: [PATCH] Deprecate the auth API (#2684) --- config/config.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/config.go b/config/config.go index b262f7b7f3e..6b4ae0c536d 100644 --- a/config/config.go +++ b/config/config.go @@ -55,6 +55,7 @@ const ( chainUpgradeFileName = "upgrade" subnetConfigFileExt = ".json" + authDeprecationMsg = "Auth API is deprecated" ipcDeprecationMsg = "IPC API is deprecated" keystoreDeprecationMsg = "keystore API is deprecated" acceptedFrontierGossipDeprecationMsg = "push-based accepted frontier gossip is deprecated" @@ -66,6 +67,10 @@ var ( // TODO: deprecate "BootstrapIDsKey" and "BootstrapIPsKey" commitThresholdDeprecationMsg = fmt.Sprintf("use --%s instead", SnowCommitThresholdKey) deprecatedKeys = map[string]string{ + APIAuthRequiredKey: authDeprecationMsg, + APIAuthPasswordKey: authDeprecationMsg, + APIAuthPasswordFileKey: authDeprecationMsg, + IpcAPIEnabledKey: ipcDeprecationMsg, IpcsChainIDsKey: ipcDeprecationMsg, IpcsPathKey: ipcDeprecationMsg,