Skip to content

Commit 4457903

Browse files
Deprecate the auth API (#2684)
1 parent 14508dd commit 4457903

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

config/config.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ const (
5555
chainUpgradeFileName = "upgrade"
5656
subnetConfigFileExt = ".json"
5757

58+
authDeprecationMsg = "Auth API is deprecated"
5859
ipcDeprecationMsg = "IPC API is deprecated"
5960
keystoreDeprecationMsg = "keystore API is deprecated"
6061
acceptedFrontierGossipDeprecationMsg = "push-based accepted frontier gossip is deprecated"
@@ -66,6 +67,10 @@ var (
6667
// TODO: deprecate "BootstrapIDsKey" and "BootstrapIPsKey"
6768
commitThresholdDeprecationMsg = fmt.Sprintf("use --%s instead", SnowCommitThresholdKey)
6869
deprecatedKeys = map[string]string{
70+
APIAuthRequiredKey: authDeprecationMsg,
71+
APIAuthPasswordKey: authDeprecationMsg,
72+
APIAuthPasswordFileKey: authDeprecationMsg,
73+
6974
IpcAPIEnabledKey: ipcDeprecationMsg,
7075
IpcsChainIDsKey: ipcDeprecationMsg,
7176
IpcsPathKey: ipcDeprecationMsg,

0 commit comments

Comments
 (0)