11## Commands
22
3- validate a digital signature for a npm package
3+ validate a digital signature for a npm package and interact with the allowlist for unsigned packages
44
5- - [ ` sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] ` ]
5+ - [ ` sf plugins trust verify ` ] ( #sf-plugins-trust-verify )
6+ - [ ` sf plugins trust allowlist add ` ] ( #sf-plugins-trust-allowlist-add )
7+ - [ ` sf plugins trust allowlist list ` ] ( #sf-plugins-trust-allowlist-list )
8+ - [ ` sf plugins trust allowlist remove ` ] ( #sf-plugins-trust-allowlist-remove )
69
7- ## ` sfdx plugins: trust:verify -n <string> [-r <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL] `
10+ ## ` sf plugins trust verify `
811
912``` USAGE
1013 $ sfdx plugins:trust:verify -n <string> [-r <string>] [--json] [--loglevel
@@ -28,3 +31,80 @@ EXAMPLES
2831 sfdx plugins:trust:verify --npm @scope/npmName --registry https://npm.pkg.github.com
2932 sfdx plugins:trust:verify --npm @scope/npmName
3033```
34+
35+ ## ` sf plugins trust allowlist add `
36+
37+ Add plugins to the unsigned plugin allow list.
38+
39+ ```
40+ USAGE
41+ $ sf plugins trust allowlist add -n <value>... [--json] [--flags-dir <value>]
42+
43+ FLAGS
44+ -n, --name=<value>... The npm name of the plugin to add to the allow list. Multiple names can be added in one
45+ invocation by repeating the --name flag.
46+
47+ GLOBAL FLAGS
48+ --flags-dir=<value> Import flag values from a directory.
49+ --json Format output as json.
50+
51+ DESCRIPTION
52+ Add plugins to the unsigned plugin allow list.
53+
54+ Adds one or more plugins to the unsignedPluginAllowList.json file, creating the file if it doesn't exist. Plugins
55+ already present in the allow list are skipped.
56+
57+ EXAMPLES
58+ sf plugins trust allowlist add --name @scope/my-plugin
59+
60+ sf plugins trust allowlist add --name @scope/my-plugin --name another-plugin
61+ ```
62+
63+ ## ` sf plugins trust allowlist list `
64+
65+ List the plugins on the unsigned plugin allowlist.
66+
67+ ```
68+ USAGE
69+ $ sf plugins trust allowlist list [--json] [--flags-dir <value>]
70+
71+ GLOBAL FLAGS
72+ --flags-dir=<value> Import flag values from a directory.
73+ --json Format output as json.
74+
75+ DESCRIPTION
76+ List the plugins on the unsigned plugin allowlist.
77+
78+ Prints the contents of the unsignedPluginAllowList.json file as a table.
79+
80+ EXAMPLES
81+ sf plugins trust allowlist list
82+ ```
83+
84+ ## ` sf plugins trust allowlist remove `
85+
86+ Remove plugins from the unsigned plugin allowlist.
87+
88+ ```
89+ USAGE
90+ $ sf plugins trust allowlist remove -n <value>... [--json] [--flags-dir <value>]
91+
92+ FLAGS
93+ -n, --name=<value>... The npm name of the plugin to remove from the allowlist. Multiple names can be removed in one
94+ invocation by repeating the --name flag.
95+
96+ GLOBAL FLAGS
97+ --flags-dir=<value> Import flag values from a directory.
98+ --json Format output as json.
99+
100+ DESCRIPTION
101+ Remove plugins from the unsigned plugin allowlist.
102+
103+ Removes one or more plugins from the unsignedPluginAllowList.json file. Plugins not present in the allowlist are
104+ skipped.
105+
106+ EXAMPLES
107+ sf plugins trust allowlist remove --name @scope/my-plugin
108+
109+ sf plugins trust allowlist remove --name @scope/my-plugin --name another-plugin
110+ ```
0 commit comments