@sonisoft/now-sdk-ext-cli 3.0.0 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (33) hide show
  1. package/README.md +500 -164
  2. package/bin/credstore-boot.js +67 -0
  3. package/bin/dev.js +4 -0
  4. package/bin/run.js +4 -0
  5. package/dist/commands/auth/delete.d.ts +17 -0
  6. package/dist/commands/auth/delete.d.ts.map +1 -0
  7. package/dist/commands/auth/delete.js +34 -0
  8. package/dist/commands/auth/delete.js.map +1 -0
  9. package/dist/commands/auth/doctor.d.ts +23 -0
  10. package/dist/commands/auth/doctor.d.ts.map +1 -0
  11. package/dist/commands/auth/doctor.js +75 -0
  12. package/dist/commands/auth/doctor.js.map +1 -0
  13. package/dist/commands/auth/list.d.ts +15 -0
  14. package/dist/commands/auth/list.d.ts.map +1 -0
  15. package/dist/commands/auth/list.js +42 -0
  16. package/dist/commands/auth/list.js.map +1 -0
  17. package/dist/commands/auth/use.d.ts +16 -0
  18. package/dist/commands/auth/use.d.ts.map +1 -0
  19. package/dist/commands/auth/use.js +20 -0
  20. package/dist/commands/auth/use.js.map +1 -0
  21. package/dist/common/authenticated-command.d.ts +10 -0
  22. package/dist/common/authenticated-command.d.ts.map +1 -1
  23. package/dist/common/authenticated-command.js +65 -12
  24. package/dist/common/authenticated-command.js.map +1 -1
  25. package/dist/common/cred-store-flag.d.ts +17 -0
  26. package/dist/common/cred-store-flag.d.ts.map +1 -0
  27. package/dist/common/cred-store-flag.js +23 -0
  28. package/dist/common/cred-store-flag.js.map +1 -0
  29. package/dist/common/scope-autocomplete.d.ts.map +1 -1
  30. package/dist/common/scope-autocomplete.js +8 -0
  31. package/dist/common/scope-autocomplete.js.map +1 -1
  32. package/oclif.manifest.json +1627 -902
  33. package/package.json +3 -2
package/README.md CHANGED
@@ -211,6 +211,54 @@ now-sdk auth --list
211
211
 
212
212
  **Note**: Credentials configured via `now-sdk auth` are automatically available to `nex` commands through the `--auth` flag.
213
213
 
214
+ #### Headless and non-interactive use
215
+
216
+ `now-sdk` stores credentials in the OS keyring, which a non-interactive session
217
+ cannot unlock — even running as the same user. Worse, the failure is silent: the
218
+ SDK's `KeyChain.getPassword()` swallows the error and returns `null`, so you get
219
+ `Default Credential has not been set` rather than a keyring error.
220
+
221
+ If you run `nex` over SSH, from a systemd service, from CI, or from an AI agent,
222
+ install [`@sonisoft/sn-credstore`](https://github.com/sonisoft-cnanda/sn-credstore)
223
+ and pass `--cred-store`. The SDK then reads from a headless-safe store that many
224
+ concurrent processes can share:
225
+
226
+ ```bash
227
+ npm install -g @sonisoft/sn-credstore
228
+
229
+ # One-time migration of existing keyring credentials.
230
+ # Run this from a desktop session — the keyring will prompt to unlock.
231
+ sn-credstore import --from keyring
232
+
233
+ nex auth doctor # confirm what is where
234
+ nex aggregate count --table incident --auth my-dev-instance --cred-store
235
+ ```
236
+
237
+ **This is opt-in.** Without `--cred-store`, `nex` uses the ServiceNow SDK's OS
238
+ keyring exactly as it always has, whether or not sn-credstore is installed. To
239
+ opt in for a whole session instead of per command, export
240
+ `SN_CRED_STORE_ENABLE=1`.
241
+
242
+ By default the store is encrypted with `systemd-creds --user`, which binds it to
243
+ this host. Containers without systemd should set `SN_CRED_STORE=file`.
244
+
245
+ | Variable | Description |
246
+ |---|---|
247
+ | `SN_CRED_STORE_ENABLE` | Opt in without passing `--cred-store` on every command |
248
+ | `SN_CRED_STORE_DISABLE` | Hard off switch; wins over the flag and everything else |
249
+ | `SN_CRED_STORE` | Backend: `systemd-creds` (default), `file`, or `auto` |
250
+ | `SN_CRED_STORE_PATH` | Override the store location |
251
+ | `SN_CRED_STORE_DEBUG` | Verbose diagnostics on stderr |
252
+
253
+ #### Managing stored credentials
254
+
255
+ ```bash
256
+ nex auth list # list aliases (secrets are never printed)
257
+ nex auth use my-dev-instance # set the default alias
258
+ nex auth delete old-alias # remove one alias
259
+ nex auth doctor # diagnose credential storage
260
+ ```
261
+
214
262
  ### 2. Run Your First Command
215
263
 
216
264
  ```bash
@@ -500,6 +548,8 @@ nex bulk update --table incident --query "state=7" --data '{"active":"false"}' -
500
548
  * [Add credentials (interactive - will prompt for username/password)](#add-credentials-interactive---will-prompt-for-usernamepassword)
501
549
  * [Set as default (optional)](#set-as-default-optional)
502
550
  * [List configured authentication profiles](#list-configured-authentication-profiles)
551
+ * [One-time migration of existing keyring credentials.](#one-time-migration-of-existing-keyring-credentials)
552
+ * [Run this from a desktop session — the keyring will prompt to unlock.](#run-this-from-a-desktop-session--the-keyring-will-prompt-to-unlock)
503
553
  * [Start interactive REPL](#start-interactive-repl)
504
554
  * [Execute an ATF test](#execute-an-atf-test)
505
555
  * [List repository applications](#list-repository-applications)
@@ -639,7 +689,7 @@ $ npm install -g @sonisoft/now-sdk-ext-cli
639
689
  $ nex COMMAND
640
690
  running command...
641
691
  $ nex (--version)
642
- @sonisoft/now-sdk-ext-cli/3.0.0 linux-x64 node-v26.5.0
692
+ @sonisoft/now-sdk-ext-cli/5.0.0 linux-x64 node-v26.5.0
643
693
  $ nex --help [COMMAND]
644
694
  USAGE
645
695
  $ nex COMMAND
@@ -661,6 +711,10 @@ USAGE
661
711
  * [`nex attachment get`](#nex-attachment-get)
662
712
  * [`nex attachment list`](#nex-attachment-list)
663
713
  * [`nex attachment upload`](#nex-attachment-upload)
714
+ * [`nex auth delete [ALIAS]`](#nex-auth-delete-alias)
715
+ * [`nex auth doctor`](#nex-auth-doctor)
716
+ * [`nex auth list`](#nex-auth-list)
717
+ * [`nex auth use ALIAS`](#nex-auth-use-alias)
664
718
  * [`nex autocomplete [SHELL]`](#nex-autocomplete-shell)
665
719
  * [`nex batch create`](#nex-batch-create)
666
720
  * [`nex batch update`](#nex-batch-update)
@@ -735,7 +789,8 @@ Count records in a ServiceNow table.
735
789
 
736
790
  ```
737
791
  USAGE
738
- $ nex aggregate count -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-q <value>]
792
+ $ nex aggregate count -t <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-q
793
+ <value>]
739
794
 
740
795
  FLAGS
741
796
  -a, --auth=<value> Auth alias to use.
@@ -744,6 +799,8 @@ FLAGS
744
799
  -t, --table=<value> (required) ServiceNow table name to count records in
745
800
 
746
801
  GLOBAL FLAGS
802
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
803
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
747
804
  --log-level=<option> [default: info] Specify level for logging.
748
805
  <options: debug|warn|error|info|trace>
749
806
 
@@ -771,7 +828,7 @@ EXAMPLES
771
828
  $ nex aggregate count --table incident --query "active=true" --json --auth dev
772
829
  ```
773
830
 
774
- _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/aggregate/count.ts)_
831
+ _See code: [src/commands/aggregate/count.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/aggregate/count.ts)_
775
832
 
776
833
  ## `nex aggregate group`
777
834
 
@@ -779,8 +836,9 @@ Run a grouped aggregate query on a ServiceNow table.
779
836
 
780
837
  ```
781
838
  USAGE
782
- $ nex aggregate group -t <value> -g <value>... [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-q
783
- <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...] [--sum <value>...] [--having <value>] [-d]
839
+ $ nex aggregate group -t <value> -g <value>... [-j] [-a <value>] [--cred-store] [--log-level
840
+ debug|warn|error|info|trace] [-q <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...] [--sum
841
+ <value>...] [--having <value>] [-d]
784
842
 
785
843
  FLAGS
786
844
  -a, --auth=<value> Auth alias to use.
@@ -797,6 +855,8 @@ FLAGS
797
855
  --sum=<value>... Comma-separated field names to compute SUM on per group
798
856
 
799
857
  GLOBAL FLAGS
858
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
859
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
800
860
  --log-level=<option> [default: info] Specify level for logging.
801
861
  <options: debug|warn|error|info|trace>
802
862
 
@@ -828,7 +888,7 @@ EXAMPLES
828
888
  $ nex aggregate group --table incident --group-by priority --count --having "count>10" --auth dev
829
889
  ```
830
890
 
831
- _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/aggregate/group.ts)_
891
+ _See code: [src/commands/aggregate/group.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/aggregate/group.ts)_
832
892
 
833
893
  ## `nex aggregate query`
834
894
 
@@ -836,8 +896,8 @@ Run aggregate statistics on a ServiceNow table.
836
896
 
837
897
  ```
838
898
  USAGE
839
- $ nex aggregate query -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-q <value>] [-c]
840
- [--avg <value>...] [--min <value>...] [--max <value>...] [--sum <value>...]
899
+ $ nex aggregate query -t <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-q
900
+ <value>] [-c] [--avg <value>...] [--min <value>...] [--max <value>...] [--sum <value>...]
841
901
 
842
902
  FLAGS
843
903
  -a, --auth=<value> Auth alias to use.
@@ -851,6 +911,8 @@ FLAGS
851
911
  --sum=<value>... Comma-separated field names to compute SUM on
852
912
 
853
913
  GLOBAL FLAGS
914
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
915
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
854
916
  --log-level=<option> [default: info] Specify level for logging.
855
917
  <options: debug|warn|error|info|trace>
856
918
 
@@ -880,7 +942,7 @@ EXAMPLES
880
942
  $ nex aggregate query --table incident --sum reassignment_count --json --auth dev
881
943
  ```
882
944
 
883
- _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/aggregate/query.ts)_
945
+ _See code: [src/commands/aggregate/query.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/aggregate/query.ts)_
884
946
 
885
947
  ## `nex app`
886
948
 
@@ -888,7 +950,8 @@ Manage ServiceNow applications: uninstall applications from your instance.
888
950
 
889
951
  ```
890
952
  USAGE
891
- $ nex app [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-u] [-i <value>] [-s <value>]
953
+ $ nex app [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-u] [-i
954
+ <value>] [-s <value>]
892
955
 
893
956
  FLAGS
894
957
  -a, --auth=<value> Auth alias to use.
@@ -897,6 +960,8 @@ FLAGS
897
960
  -u, --uninstall Uninstall the app
898
961
 
899
962
  GLOBAL FLAGS
963
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
964
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
900
965
  --json Format output as json.
901
966
  --log-level=<option> [default: info] Specify level for logging.
902
967
  <options: debug|warn|error|info|trace>
@@ -932,7 +997,7 @@ EXAMPLES
932
997
  $ nex app -u -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
933
998
  ```
934
999
 
935
- _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/app/index.ts)_
1000
+ _See code: [src/commands/app/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/app/index.ts)_
936
1001
 
937
1002
  ## `nex app install`
938
1003
 
@@ -940,7 +1005,8 @@ Install or upgrade multiple ServiceNow applications from a batch definition file
940
1005
 
941
1006
  ```
942
1007
  USAGE
943
- $ nex app install [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-b] [-d <value>]
1008
+ $ nex app install [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-b] [-d
1009
+ <value>]
944
1010
 
945
1011
  FLAGS
946
1012
  -a, --auth=<value> Auth alias to use.
@@ -948,6 +1014,8 @@ FLAGS
948
1014
  -d, --definitionPath=<value> Path to JSON batch definition file containing applications to install
949
1015
 
950
1016
  GLOBAL FLAGS
1017
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1018
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
951
1019
  --json Format output as json.
952
1020
  --log-level=<option> [default: info] Specify level for logging.
953
1021
  <options: debug|warn|error|info|trace>
@@ -989,7 +1057,7 @@ EXAMPLES
989
1057
  $ nex app install -b -d ./apps.json -a dev-instance --log-level debug
990
1058
  ```
991
1059
 
992
- _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/app/install.ts)_
1060
+ _See code: [src/commands/app/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/app/install.ts)_
993
1061
 
994
1062
  ## `nex app repo-install`
995
1063
 
@@ -997,8 +1065,8 @@ Install an application from your ServiceNow company repository.
997
1065
 
998
1066
  ```
999
1067
  USAGE
1000
- $ nex app repo-install -s <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-w]
1001
- [--poll-interval <value>] [-t <value>] [-v <value>]
1068
+ $ nex app repo-install -s <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
1069
+ [-w] [--poll-interval <value>] [-t <value>] [-v <value>]
1002
1070
 
1003
1071
  FLAGS
1004
1072
  -a, --auth=<value> Auth alias to use.
@@ -1009,6 +1077,8 @@ FLAGS
1009
1077
  --poll-interval=<value> [default: 5000] Polling interval in milliseconds (default: 5000)
1010
1078
 
1011
1079
  GLOBAL FLAGS
1080
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1081
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1012
1082
  --json Format output as json.
1013
1083
  --log-level=<option> [default: info] Specify level for logging.
1014
1084
  <options: debug|warn|error|info|trace>
@@ -1063,7 +1133,7 @@ EXAMPLES
1063
1133
  $ nex app repo-install -s x_my_app -a dev-instance --log-level debug
1064
1134
  ```
1065
1135
 
1066
- _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/app/repo-install.ts)_
1136
+ _See code: [src/commands/app/repo-install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/app/repo-install.ts)_
1067
1137
 
1068
1138
  ## `nex app repo-list`
1069
1139
 
@@ -1071,7 +1141,7 @@ List applications available in your ServiceNow company repository.
1071
1141
 
1072
1142
  ```
1073
1143
  USAGE
1074
- $ nex app repo-list [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-n] [-i]
1144
+ $ nex app repo-list [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-n] [-i]
1075
1145
 
1076
1146
  FLAGS
1077
1147
  -a, --auth=<value> Auth alias to use.
@@ -1080,6 +1150,8 @@ FLAGS
1080
1150
  -n, --installable Show only applications that can be installed (not yet installed)
1081
1151
 
1082
1152
  GLOBAL FLAGS
1153
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1154
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1083
1155
  --log-level=<option> [default: info] Specify level for logging.
1084
1156
  <options: debug|warn|error|info|trace>
1085
1157
 
@@ -1127,7 +1199,7 @@ EXAMPLES
1127
1199
  $ nex app repo-list -a dev-instance
1128
1200
  ```
1129
1201
 
1130
- _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/app/repo-list.ts)_
1202
+ _See code: [src/commands/app/repo-list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/app/repo-list.ts)_
1131
1203
 
1132
1204
  ## `nex app uninstall`
1133
1205
 
@@ -1135,7 +1207,8 @@ Uninstall a ServiceNow application from your instance.
1135
1207
 
1136
1208
  ```
1137
1209
  USAGE
1138
- $ nex app uninstall -i <value> -s <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
1210
+ $ nex app uninstall -i <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-level
1211
+ debug|warn|error|info|trace]
1139
1212
 
1140
1213
  FLAGS
1141
1214
  -a, --auth=<value> Auth alias to use.
@@ -1143,6 +1216,8 @@ FLAGS
1143
1216
  -s, --scope=<value> (required) Scope of application
1144
1217
 
1145
1218
  GLOBAL FLAGS
1219
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1220
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1146
1221
  --json Format output as json.
1147
1222
  --log-level=<option> [default: info] Specify level for logging.
1148
1223
  <options: debug|warn|error|info|trace>
@@ -1178,7 +1253,7 @@ EXAMPLES
1178
1253
  $ nex app uninstall -i a1b2c3d4e5f6 -s x_my_custom_app -a dev-instance
1179
1254
  ```
1180
1255
 
1181
- _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/app/uninstall.ts)_
1256
+ _See code: [src/commands/app/uninstall.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/app/uninstall.ts)_
1182
1257
 
1183
1258
  ## `nex atf`
1184
1259
 
@@ -1186,9 +1261,9 @@ Execute ATF (Automated Test Framework) tests or test suites on a ServiceNow inst
1186
1261
 
1187
1262
  ```
1188
1263
  USAGE
1189
- $ nex atf [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-t <value> | -s <value> | -n
1190
- <value>] [-w] [-p <value>] [-b <value>] [--browser-version <value>] [--os-name <value>] [--os-version <value>]
1191
- [--performance] [--cloud]
1264
+ $ nex atf [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-t <value> | -s
1265
+ <value> | -n <value>] [-w] [-p <value>] [-b <value>] [--browser-version <value>] [--os-name <value>] [--os-version
1266
+ <value>] [--performance] [--cloud]
1192
1267
 
1193
1268
  FLAGS
1194
1269
  -a, --auth=<value> Auth alias to use.
@@ -1206,6 +1281,8 @@ FLAGS
1206
1281
  --performance Run as performance test
1207
1282
 
1208
1283
  GLOBAL FLAGS
1284
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1285
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1209
1286
  --log-level=<option> [default: info] Specify level for logging.
1210
1287
  <options: debug|warn|error|info|trace>
1211
1288
 
@@ -1250,7 +1327,7 @@ EXAMPLES
1250
1327
  $ nex atf --suite-id e077e00b83103210621e78c6feaad383 --poll-interval 10000 --auth dev-instance
1251
1328
  ```
1252
1329
 
1253
- _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/atf/index.ts)_
1330
+ _See code: [src/commands/atf/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/atf/index.ts)_
1254
1331
 
1255
1332
  ## `nex attachment get`
1256
1333
 
@@ -1258,13 +1335,15 @@ Get metadata for a specific attachment.
1258
1335
 
1259
1336
  ```
1260
1337
  USAGE
1261
- $ nex attachment get -s <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
1338
+ $ nex attachment get -s <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
1262
1339
 
1263
1340
  FLAGS
1264
1341
  -a, --auth=<value> Auth alias to use.
1265
1342
  -s, --sys-id=<value> (required) Sys ID of the attachment
1266
1343
 
1267
1344
  GLOBAL FLAGS
1345
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1346
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1268
1347
  --json Format output as json.
1269
1348
  --log-level=<option> [default: info] Specify level for logging.
1270
1349
  <options: debug|warn|error|info|trace>
@@ -1282,7 +1361,7 @@ EXAMPLES
1282
1361
  $ nex attachment get -s att123 --json --auth dev
1283
1362
  ```
1284
1363
 
1285
- _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/attachment/get.ts)_
1364
+ _See code: [src/commands/attachment/get.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/attachment/get.ts)_
1286
1365
 
1287
1366
  ## `nex attachment list`
1288
1367
 
@@ -1290,8 +1369,8 @@ List attachments on a ServiceNow record.
1290
1369
 
1291
1370
  ```
1292
1371
  USAGE
1293
- $ nex attachment list -r <value> -t <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
1294
- [--limit <value>]
1372
+ $ nex attachment list -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-level
1373
+ debug|warn|error|info|trace] [--limit <value>]
1295
1374
 
1296
1375
  FLAGS
1297
1376
  -a, --auth=<value> Auth alias to use.
@@ -1300,6 +1379,8 @@ FLAGS
1300
1379
  --limit=<value> [default: 20] Maximum number of attachments to return
1301
1380
 
1302
1381
  GLOBAL FLAGS
1382
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1383
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1303
1384
  --json Format output as json.
1304
1385
  --log-level=<option> [default: info] Specify level for logging.
1305
1386
  <options: debug|warn|error|info|trace>
@@ -1317,7 +1398,7 @@ EXAMPLES
1317
1398
  $ nex attachment list -t incident -r abc123 --limit 50 --json --auth dev
1318
1399
  ```
1319
1400
 
1320
- _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/attachment/list.ts)_
1401
+ _See code: [src/commands/attachment/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/attachment/list.ts)_
1321
1402
 
1322
1403
  ## `nex attachment upload`
1323
1404
 
@@ -1325,7 +1406,7 @@ Upload a file as an attachment to a ServiceNow record.
1325
1406
 
1326
1407
  ```
1327
1408
  USAGE
1328
- $ nex attachment upload -f <value> -r <value> -t <value> [--json] [-a <value>] [--log-level
1409
+ $ nex attachment upload -f <value> -r <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-level
1329
1410
  debug|warn|error|info|trace] [--content-type <value>]
1330
1411
 
1331
1412
  FLAGS
@@ -1336,6 +1417,8 @@ FLAGS
1336
1417
  --content-type=<value> MIME content type of the file
1337
1418
 
1338
1419
  GLOBAL FLAGS
1420
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1421
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1339
1422
  --json Format output as json.
1340
1423
  --log-level=<option> [default: info] Specify level for logging.
1341
1424
  <options: debug|warn|error|info|trace>
@@ -1353,7 +1436,131 @@ EXAMPLES
1353
1436
  $ nex attachment upload -t incident -r abc123 -f ./data.csv --content-type text/csv --auth dev
1354
1437
  ```
1355
1438
 
1356
- _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/attachment/upload.ts)_
1439
+ _See code: [src/commands/attachment/upload.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/attachment/upload.ts)_
1440
+
1441
+ ## `nex auth delete [ALIAS]`
1442
+
1443
+ Remove a credential from the store.
1444
+
1445
+ ```
1446
+ USAGE
1447
+ $ nex auth delete [ALIAS] [--cred-store] [--all]
1448
+
1449
+ ARGUMENTS
1450
+ [ALIAS] Alias to remove
1451
+
1452
+ FLAGS
1453
+ --all Remove every stored credential
1454
+
1455
+ GLOBAL FLAGS
1456
+ --cred-store Accepted for symmetry with other commands and ignored — the auth commands always use
1457
+ @sonisoft/sn-credstore.
1458
+
1459
+ DESCRIPTION
1460
+ Remove a credential from the store.
1461
+
1462
+ This does not touch the OS keyring — a copy stored there before migrating remains.
1463
+
1464
+ EXAMPLES
1465
+ Remove one alias
1466
+
1467
+ $ nex auth delete dev206299
1468
+
1469
+ Remove every stored credential
1470
+
1471
+ $ nex auth delete --all
1472
+ ```
1473
+
1474
+ _See code: [src/commands/auth/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/auth/delete.ts)_
1475
+
1476
+ ## `nex auth doctor`
1477
+
1478
+ Diagnose credential storage: whether the SDK shim is active, which backend is in use, and what is stored.
1479
+
1480
+ ```
1481
+ USAGE
1482
+ $ nex auth doctor [--json] [--cred-store]
1483
+
1484
+ GLOBAL FLAGS
1485
+ --cred-store Accepted for symmetry with other commands and ignored — the auth commands always use
1486
+ @sonisoft/sn-credstore.
1487
+ --json Format output as json.
1488
+
1489
+ DESCRIPTION
1490
+ Diagnose credential storage: whether the SDK shim is active, which backend is in use, and what is stored.
1491
+
1492
+ EXAMPLES
1493
+ Check credential storage health
1494
+
1495
+ $ nex auth doctor
1496
+
1497
+ Machine-readable output for CI
1498
+
1499
+ $ nex auth doctor --json
1500
+ ```
1501
+
1502
+ _See code: [src/commands/auth/doctor.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/auth/doctor.ts)_
1503
+
1504
+ ## `nex auth list`
1505
+
1506
+ List credentials in the headless-safe credential store.
1507
+
1508
+ ```
1509
+ USAGE
1510
+ $ nex auth list [--json] [--cred-store]
1511
+
1512
+ GLOBAL FLAGS
1513
+ --cred-store Accepted for symmetry with other commands and ignored — the auth commands always use
1514
+ @sonisoft/sn-credstore.
1515
+ --json Format output as json.
1516
+
1517
+ DESCRIPTION
1518
+ List credentials in the headless-safe credential store.
1519
+
1520
+ These are the credentials the ServiceNow SDK reads via the sn-credstore shim, which works in non-interactive sessions
1521
+ where the OS keyring cannot be unlocked.
1522
+
1523
+ Secrets are never printed.
1524
+
1525
+ EXAMPLES
1526
+ List stored credentials
1527
+
1528
+ $ nex auth list
1529
+
1530
+ List as JSON for scripting
1531
+
1532
+ $ nex auth list --json
1533
+ ```
1534
+
1535
+ _See code: [src/commands/auth/list.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/auth/list.ts)_
1536
+
1537
+ ## `nex auth use ALIAS`
1538
+
1539
+ Set the default credential alias.
1540
+
1541
+ ```
1542
+ USAGE
1543
+ $ nex auth use ALIAS [--cred-store]
1544
+
1545
+ ARGUMENTS
1546
+ ALIAS Alias to make the default
1547
+
1548
+ GLOBAL FLAGS
1549
+ --cred-store Accepted for symmetry with other commands and ignored — the auth commands always use
1550
+ @sonisoft/sn-credstore.
1551
+
1552
+ DESCRIPTION
1553
+ Set the default credential alias.
1554
+
1555
+ Commands run without --auth use this alias.
1556
+
1557
+ EXAMPLES
1558
+ Make dev206299 the default
1559
+
1560
+ $ nex auth use dev206299
1561
+ ```
1562
+
1563
+ _See code: [src/commands/auth/use.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/auth/use.ts)_
1357
1564
 
1358
1565
  ## `nex autocomplete [SHELL]`
1359
1566
 
@@ -1392,7 +1599,8 @@ Batch create records on a ServiceNow instance from a JSON file.
1392
1599
 
1393
1600
  ```
1394
1601
  USAGE
1395
- $ nex batch create -f <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [--transaction]
1602
+ $ nex batch create -f <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
1603
+ [--transaction]
1396
1604
 
1397
1605
  FLAGS
1398
1606
  -a, --auth=<value> Auth alias to use.
@@ -1400,6 +1608,8 @@ FLAGS
1400
1608
  --transaction Stop on first error (transactional)
1401
1609
 
1402
1610
  GLOBAL FLAGS
1611
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1612
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1403
1613
  --json Format output as json.
1404
1614
  --log-level=<option> [default: info] Specify level for logging.
1405
1615
  <options: debug|warn|error|info|trace>
@@ -1417,7 +1627,7 @@ EXAMPLES
1417
1627
  $ nex batch create --file ./records.json --no-transaction --auth dev
1418
1628
  ```
1419
1629
 
1420
- _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/batch/create.ts)_
1630
+ _See code: [src/commands/batch/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/batch/create.ts)_
1421
1631
 
1422
1632
  ## `nex batch update`
1423
1633
 
@@ -1425,7 +1635,8 @@ Batch update records on a ServiceNow instance from a JSON file.
1425
1635
 
1426
1636
  ```
1427
1637
  USAGE
1428
- $ nex batch update -f <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [--stop-on-error]
1638
+ $ nex batch update -f <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
1639
+ [--stop-on-error]
1429
1640
 
1430
1641
  FLAGS
1431
1642
  -a, --auth=<value> Auth alias to use.
@@ -1433,6 +1644,8 @@ FLAGS
1433
1644
  --stop-on-error Stop processing on first error
1434
1645
 
1435
1646
  GLOBAL FLAGS
1647
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1648
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1436
1649
  --json Format output as json.
1437
1650
  --log-level=<option> [default: info] Specify level for logging.
1438
1651
  <options: debug|warn|error|info|trace>
@@ -1450,7 +1663,7 @@ EXAMPLES
1450
1663
  $ nex batch update --file ./updates.json --stop-on-error --auth dev
1451
1664
  ```
1452
1665
 
1453
- _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/batch/update.ts)_
1666
+ _See code: [src/commands/batch/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/batch/update.ts)_
1454
1667
 
1455
1668
  ## `nex bulk delete`
1456
1669
 
@@ -1458,8 +1671,8 @@ Bulk delete records matching an encoded query.
1458
1671
 
1459
1672
  ```
1460
1673
  USAGE
1461
- $ nex bulk delete -t <value> -q <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--confirm]
1462
- [-l <value>]
1674
+ $ nex bulk delete -t <value> -q <value> [-j] [-a <value>] [--cred-store] [--log-level
1675
+ debug|warn|error|info|trace] [--confirm] [-l <value>]
1463
1676
 
1464
1677
  FLAGS
1465
1678
  -a, --auth=<value> Auth alias to use.
@@ -1470,6 +1683,8 @@ FLAGS
1470
1683
  --confirm Execute the delete (without this flag, performs a dry run)
1471
1684
 
1472
1685
  GLOBAL FLAGS
1686
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1687
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1473
1688
  --log-level=<option> [default: info] Specify level for logging.
1474
1689
  <options: debug|warn|error|info|trace>
1475
1690
 
@@ -1504,7 +1719,7 @@ EXAMPLES
1504
1719
  $ nex bulk delete --table u_staging --query "processed=true" --confirm --json --auth dev
1505
1720
  ```
1506
1721
 
1507
- _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/bulk/delete.ts)_
1722
+ _See code: [src/commands/bulk/delete.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/bulk/delete.ts)_
1508
1723
 
1509
1724
  ## `nex bulk update`
1510
1725
 
@@ -1512,8 +1727,8 @@ Bulk update records matching an encoded query.
1512
1727
 
1513
1728
  ```
1514
1729
  USAGE
1515
- $ nex bulk update -t <value> -q <value> -d <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace]
1516
- [--confirm] [-l <value>]
1730
+ $ nex bulk update -t <value> -q <value> -d <value> [-j] [-a <value>] [--cred-store] [--log-level
1731
+ debug|warn|error|info|trace] [--confirm] [-l <value>]
1517
1732
 
1518
1733
  FLAGS
1519
1734
  -a, --auth=<value> Auth alias to use.
@@ -1525,6 +1740,8 @@ FLAGS
1525
1740
  --confirm Execute the update (without this flag, performs a dry run)
1526
1741
 
1527
1742
  GLOBAL FLAGS
1743
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1744
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1528
1745
  --log-level=<option> [default: info] Specify level for logging.
1529
1746
  <options: debug|warn|error|info|trace>
1530
1747
 
@@ -1562,7 +1779,7 @@ EXAMPLES
1562
1779
  $ nex bulk update --table incident --query "active=true" --data '{"state":"6"}' --confirm --json --auth dev
1563
1780
  ```
1564
1781
 
1565
- _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/bulk/update.ts)_
1782
+ _See code: [src/commands/bulk/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/bulk/update.ts)_
1566
1783
 
1567
1784
  ## `nex exec SCOPE [FILE]`
1568
1785
 
@@ -1570,7 +1787,8 @@ Execute JavaScript on a ServiceNow instance remotely using Scripts - Background.
1570
1787
 
1571
1788
  ```
1572
1789
  USAGE
1573
- $ nex exec SCOPE [FILE] [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-p <value>]
1790
+ $ nex exec SCOPE [FILE] [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
1791
+ [-p <value>]
1574
1792
 
1575
1793
  ARGUMENTS
1576
1794
  SCOPE Scope to execute script in. Use "global" for global scope.
@@ -1581,6 +1799,8 @@ FLAGS
1581
1799
  -p, --params=<value> JSON object of parameters to replace in script file. Use {paramName} syntax in your script.
1582
1800
 
1583
1801
  GLOBAL FLAGS
1802
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1803
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1584
1804
  --json Format output as json.
1585
1805
  --log-level=<option> [default: info] Specify level for logging.
1586
1806
  <options: debug|warn|error|info|trace>
@@ -1681,7 +1901,7 @@ EXAMPLES
1681
1901
  $ nex exec global ./script.js --auth dev-instance --params '{"token":"abc123","env":"dev"}'
1682
1902
  ```
1683
1903
 
1684
- _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/exec/index.ts)_
1904
+ _See code: [src/commands/exec/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/exec/index.ts)_
1685
1905
 
1686
1906
  ## `nex flow action`
1687
1907
 
@@ -1689,8 +1909,8 @@ Execute a Flow Designer action by scoped name.
1689
1909
 
1690
1910
  ```
1691
1911
  USAGE
1692
- $ nex flow action -n <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-i <value>] [-m
1693
- foreground|background] [--scope <value>] [--quick]
1912
+ $ nex flow action -n <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-i
1913
+ <value>] [-m foreground|background] [--scope <value>] [--quick]
1694
1914
 
1695
1915
  FLAGS
1696
1916
  -a, --auth=<value> Auth alias to use.
@@ -1703,6 +1923,8 @@ FLAGS
1703
1923
  --scope=<value> Scope context for script execution
1704
1924
 
1705
1925
  GLOBAL FLAGS
1926
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1927
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1706
1928
  --log-level=<option> [default: info] Specify level for logging.
1707
1929
  <options: debug|warn|error|info|trace>
1708
1930
 
@@ -1724,7 +1946,7 @@ EXAMPLES
1724
1946
  '{"table":"incident","values":{"short_description":"Test"}}' --auth dev
1725
1947
  ```
1726
1948
 
1727
- _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/action.ts)_
1949
+ _See code: [src/commands/flow/action.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/action.ts)_
1728
1950
 
1729
1951
  ## `nex flow cancel`
1730
1952
 
@@ -1732,8 +1954,8 @@ Cancel a running or paused flow execution.
1732
1954
 
1733
1955
  ```
1734
1956
  USAGE
1735
- $ nex flow cancel -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-r <value>] [--scope
1736
- <value>]
1957
+ $ nex flow cancel -c <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-r
1958
+ <value>] [--scope <value>]
1737
1959
 
1738
1960
  FLAGS
1739
1961
  -a, --auth=<value> Auth alias to use.
@@ -1743,6 +1965,8 @@ FLAGS
1743
1965
  --scope=<value> Scope context for script execution
1744
1966
 
1745
1967
  GLOBAL FLAGS
1968
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
1969
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1746
1970
  --log-level=<option> [default: info] Specify level for logging.
1747
1971
  <options: debug|warn|error|info|trace>
1748
1972
 
@@ -1761,7 +1985,7 @@ EXAMPLES
1761
1985
  $ nex flow cancel --context-id abc123def456 --reason "No longer needed" --auth dev
1762
1986
  ```
1763
1987
 
1764
- _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/cancel.ts)_
1988
+ _See code: [src/commands/flow/cancel.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/cancel.ts)_
1765
1989
 
1766
1990
  ## `nex flow copy`
1767
1991
 
@@ -1769,7 +1993,8 @@ Copy an existing flow into a target scoped application.
1769
1993
 
1770
1994
  ```
1771
1995
  USAGE
1772
- $ nex flow copy -s <value> -n <value> -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace]
1996
+ $ nex flow copy -s <value> -n <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-level
1997
+ debug|warn|error|info|trace]
1773
1998
 
1774
1999
  FLAGS
1775
2000
  -a, --auth=<value> Auth alias to use.
@@ -1780,6 +2005,8 @@ FLAGS
1780
2005
  sys_ids)
1781
2006
 
1782
2007
  GLOBAL FLAGS
2008
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2009
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1783
2010
  --log-level=<option> [default: info] Specify level for logging.
1784
2011
  <options: debug|warn|error|info|trace>
1785
2012
 
@@ -1815,7 +2042,7 @@ EXAMPLES
1815
2042
  dev
1816
2043
  ```
1817
2044
 
1818
- _See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/copy.ts)_
2045
+ _See code: [src/commands/flow/copy.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/copy.ts)_
1819
2046
 
1820
2047
  ## `nex flow details`
1821
2048
 
@@ -1823,7 +2050,8 @@ Get rich execution details for a flow context.
1823
2050
 
1824
2051
  ```
1825
2052
  USAGE
1826
- $ nex flow details -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--scope <value>] [-d]
2053
+ $ nex flow details -c <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
2054
+ [--scope <value>] [-d]
1827
2055
 
1828
2056
  FLAGS
1829
2057
  -a, --auth=<value> Auth alias to use.
@@ -1833,6 +2061,8 @@ FLAGS
1833
2061
  --scope=<value> Scope sys_id for the ProcessFlow API transaction scope parameter
1834
2062
 
1835
2063
  GLOBAL FLAGS
2064
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2065
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1836
2066
  --log-level=<option> [default: info] Specify level for logging.
1837
2067
  <options: debug|warn|error|info|trace>
1838
2068
 
@@ -1865,7 +2095,7 @@ EXAMPLES
1865
2095
  $ nex flow details -c d4e5f6789012345678abcdef01234567 --json --auth dev
1866
2096
  ```
1867
2097
 
1868
- _See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/details.ts)_
2098
+ _See code: [src/commands/flow/details.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/details.ts)_
1869
2099
 
1870
2100
  ## `nex flow error`
1871
2101
 
@@ -1873,7 +2103,8 @@ Retrieve error details from a failed flow execution.
1873
2103
 
1874
2104
  ```
1875
2105
  USAGE
1876
- $ nex flow error -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--scope <value>]
2106
+ $ nex flow error -c <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
2107
+ [--scope <value>]
1877
2108
 
1878
2109
  FLAGS
1879
2110
  -a, --auth=<value> Auth alias to use.
@@ -1882,6 +2113,8 @@ FLAGS
1882
2113
  --scope=<value> Scope context for script execution
1883
2114
 
1884
2115
  GLOBAL FLAGS
2116
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2117
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1885
2118
  --log-level=<option> [default: info] Specify level for logging.
1886
2119
  <options: debug|warn|error|info|trace>
1887
2120
 
@@ -1896,7 +2129,7 @@ EXAMPLES
1896
2129
  $ nex flow error --context-id abc123def456 --auth dev
1897
2130
  ```
1898
2131
 
1899
- _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/error.ts)_
2132
+ _See code: [src/commands/flow/error.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/error.ts)_
1900
2133
 
1901
2134
  ## `nex flow logs`
1902
2135
 
@@ -1904,8 +2137,8 @@ Retrieve flow execution log entries for a given context.
1904
2137
 
1905
2138
  ```
1906
2139
  USAGE
1907
- $ nex flow logs -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-l <value>] [-o
1908
- asc|desc]
2140
+ $ nex flow logs -c <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-l
2141
+ <value>] [-o asc|desc]
1909
2142
 
1910
2143
  FLAGS
1911
2144
  -a, --auth=<value> Auth alias to use.
@@ -1916,6 +2149,8 @@ FLAGS
1916
2149
  <options: asc|desc>
1917
2150
 
1918
2151
  GLOBAL FLAGS
2152
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2153
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1919
2154
  --log-level=<option> [default: info] Specify level for logging.
1920
2155
  <options: debug|warn|error|info|trace>
1921
2156
 
@@ -1944,7 +2179,7 @@ EXAMPLES
1944
2179
  $ nex flow logs -c d4e5f6789012345678abcdef01234567 --json --auth dev
1945
2180
  ```
1946
2181
 
1947
- _See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/logs.ts)_
2182
+ _See code: [src/commands/flow/logs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/logs.ts)_
1948
2183
 
1949
2184
  ## `nex flow message`
1950
2185
 
@@ -1952,8 +2187,8 @@ Send a message to a paused flow execution.
1952
2187
 
1953
2188
  ```
1954
2189
  USAGE
1955
- $ nex flow message -c <value> -m <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-p
1956
- <value>] [--scope <value>]
2190
+ $ nex flow message -c <value> -m <value> [-j] [-a <value>] [--cred-store] [--log-level
2191
+ debug|warn|error|info|trace] [-p <value>] [--scope <value>]
1957
2192
 
1958
2193
  FLAGS
1959
2194
  -a, --auth=<value> Auth alias to use.
@@ -1964,6 +2199,8 @@ FLAGS
1964
2199
  --scope=<value> Scope context for script execution
1965
2200
 
1966
2201
  GLOBAL FLAGS
2202
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2203
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
1967
2204
  --log-level=<option> [default: info] Specify level for logging.
1968
2205
  <options: debug|warn|error|info|trace>
1969
2206
 
@@ -1983,7 +2220,7 @@ EXAMPLES
1983
2220
  $ nex flow message --context-id abc123def456 --message "data_ready" --payload '{"status":"ok"}' --auth dev
1984
2221
  ```
1985
2222
 
1986
- _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/message.ts)_
2223
+ _See code: [src/commands/flow/message.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/message.ts)_
1987
2224
 
1988
2225
  ## `nex flow outputs`
1989
2226
 
@@ -1991,7 +2228,8 @@ Retrieve outputs from a completed flow execution.
1991
2228
 
1992
2229
  ```
1993
2230
  USAGE
1994
- $ nex flow outputs -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--scope <value>]
2231
+ $ nex flow outputs -c <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
2232
+ [--scope <value>]
1995
2233
 
1996
2234
  FLAGS
1997
2235
  -a, --auth=<value> Auth alias to use.
@@ -2000,6 +2238,8 @@ FLAGS
2000
2238
  --scope=<value> Scope context for script execution
2001
2239
 
2002
2240
  GLOBAL FLAGS
2241
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2242
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2003
2243
  --log-level=<option> [default: info] Specify level for logging.
2004
2244
  <options: debug|warn|error|info|trace>
2005
2245
 
@@ -2018,7 +2258,7 @@ EXAMPLES
2018
2258
  $ nex flow outputs --context-id abc123def456 --json --auth dev
2019
2259
  ```
2020
2260
 
2021
- _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/outputs.ts)_
2261
+ _See code: [src/commands/flow/outputs.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/outputs.ts)_
2022
2262
 
2023
2263
  ## `nex flow run`
2024
2264
 
@@ -2026,8 +2266,8 @@ Execute a published Flow Designer flow by scoped name.
2026
2266
 
2027
2267
  ```
2028
2268
  USAGE
2029
- $ nex flow run -n <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-i <value>] [-m
2030
- foreground|background] [--scope <value>] [--quick]
2269
+ $ nex flow run -n <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-i
2270
+ <value>] [-m foreground|background] [--scope <value>] [--quick]
2031
2271
 
2032
2272
  FLAGS
2033
2273
  -a, --auth=<value> Auth alias to use.
@@ -2040,6 +2280,8 @@ FLAGS
2040
2280
  --scope=<value> Scope context for script execution (e.g. global, x_myapp)
2041
2281
 
2042
2282
  GLOBAL FLAGS
2283
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2284
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2043
2285
  --log-level=<option> [default: info] Specify level for logging.
2044
2286
  <options: debug|warn|error|info|trace>
2045
2287
 
@@ -2073,7 +2315,7 @@ EXAMPLES
2073
2315
  $ nex flow run --name global.my_flow --mode background --auth dev
2074
2316
  ```
2075
2317
 
2076
- _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/run.ts)_
2318
+ _See code: [src/commands/flow/run.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/run.ts)_
2077
2319
 
2078
2320
  ## `nex flow status`
2079
2321
 
@@ -2081,7 +2323,8 @@ Get the status of a flow execution context.
2081
2323
 
2082
2324
  ```
2083
2325
  USAGE
2084
- $ nex flow status -c <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--scope <value>]
2326
+ $ nex flow status -c <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
2327
+ [--scope <value>]
2085
2328
 
2086
2329
  FLAGS
2087
2330
  -a, --auth=<value> Auth alias to use.
@@ -2090,6 +2333,8 @@ FLAGS
2090
2333
  --scope=<value> Scope context for script execution
2091
2334
 
2092
2335
  GLOBAL FLAGS
2336
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2337
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2093
2338
  --log-level=<option> [default: info] Specify level for logging.
2094
2339
  <options: debug|warn|error|info|trace>
2095
2340
 
@@ -2106,7 +2351,7 @@ EXAMPLES
2106
2351
  $ nex flow status --context-id abc123def456 --auth dev
2107
2352
  ```
2108
2353
 
2109
- _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/status.ts)_
2354
+ _See code: [src/commands/flow/status.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/status.ts)_
2110
2355
 
2111
2356
  ## `nex flow subflow`
2112
2357
 
@@ -2114,8 +2359,8 @@ Execute a published Flow Designer subflow by scoped name.
2114
2359
 
2115
2360
  ```
2116
2361
  USAGE
2117
- $ nex flow subflow -n <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-i <value>] [-m
2118
- foreground|background] [--scope <value>] [--quick]
2362
+ $ nex flow subflow -n <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-i
2363
+ <value>] [-m foreground|background] [--scope <value>] [--quick]
2119
2364
 
2120
2365
  FLAGS
2121
2366
  -a, --auth=<value> Auth alias to use.
@@ -2128,6 +2373,8 @@ FLAGS
2128
2373
  --scope=<value> Scope context for script execution
2129
2374
 
2130
2375
  GLOBAL FLAGS
2376
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2377
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2131
2378
  --log-level=<option> [default: info] Specify level for logging.
2132
2379
  <options: debug|warn|error|info|trace>
2133
2380
 
@@ -2155,7 +2402,7 @@ EXAMPLES
2155
2402
  $ nex flow subflow --name x_myapp.process_record --inputs '{"table":"incident","sys_id":"abc123"}' --auth dev
2156
2403
  ```
2157
2404
 
2158
- _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/subflow.ts)_
2405
+ _See code: [src/commands/flow/subflow.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/subflow.ts)_
2159
2406
 
2160
2407
  ## `nex flow test`
2161
2408
 
@@ -2163,8 +2410,8 @@ Test a Flow Designer flow without requiring it to be published.
2163
2410
 
2164
2411
  ```
2165
2412
  USAGE
2166
- $ nex flow test -f <value> -o <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--scope
2167
- <value>] [--synchronous]
2413
+ $ nex flow test -f <value> -o <value> [-j] [-a <value>] [--cred-store] [--log-level
2414
+ debug|warn|error|info|trace] [--scope <value>] [--synchronous]
2168
2415
 
2169
2416
  FLAGS
2170
2417
  -a, --auth=<value> Auth alias to use.
@@ -2176,6 +2423,8 @@ FLAGS
2176
2423
  --[no-]synchronous Run test synchronously (default: true)
2177
2424
 
2178
2425
  GLOBAL FLAGS
2426
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2427
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2179
2428
  --log-level=<option> [default: info] Specify level for logging.
2180
2429
  <options: debug|warn|error|info|trace>
2181
2430
 
@@ -2207,7 +2456,7 @@ EXAMPLES
2207
2456
  $ nex flow test -f 887dda5583237210fdb8f7b6feaad32c -o '{"current":"abc123"}' --json --auth dev
2208
2457
  ```
2209
2458
 
2210
- _See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/flow/test.ts)_
2459
+ _See code: [src/commands/flow/test.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/flow/test.ts)_
2211
2460
 
2212
2461
  ## `nex health check`
2213
2462
 
@@ -2215,8 +2464,8 @@ Run a consolidated health check on a ServiceNow instance.
2215
2464
 
2216
2465
  ```
2217
2466
  USAGE
2218
- $ nex health check [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--include-version]
2219
- [--include-cluster] [--include-stuck-jobs] [--include-semaphores] [--include-operational-counts]
2467
+ $ nex health check [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
2468
+ [--include-version] [--include-cluster] [--include-stuck-jobs] [--include-semaphores] [--include-operational-counts]
2220
2469
  [--stuck-job-threshold <value>]
2221
2470
 
2222
2471
  FLAGS
@@ -2230,6 +2479,8 @@ FLAGS
2230
2479
  --stuck-job-threshold=<value> [default: 30] Minutes threshold for a job to be considered stuck
2231
2480
 
2232
2481
  GLOBAL FLAGS
2482
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2483
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2233
2484
  --log-level=<option> [default: info] Specify level for logging.
2234
2485
  <options: debug|warn|error|info|trace>
2235
2486
 
@@ -2267,7 +2518,7 @@ EXAMPLES
2267
2518
  $ nex health check --json --auth dev
2268
2519
  ```
2269
2520
 
2270
- _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/health/check.ts)_
2521
+ _See code: [src/commands/health/check.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/health/check.ts)_
2271
2522
 
2272
2523
  ## `nex help [COMMAND]`
2273
2524
 
@@ -2295,8 +2546,8 @@ Tail and monitor ServiceNow system logs in real-time with beautiful formatting.
2295
2546
 
2296
2547
  ```
2297
2548
  USAGE
2298
- $ nex log [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-o <value>] [-i <value>]
2299
- [--no-color] [-f <value>...]
2549
+ $ nex log [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-o <value>]
2550
+ [-i <value>] [--no-color] [-f <value>...]
2300
2551
 
2301
2552
  FLAGS
2302
2553
  -a, --auth=<value> Auth alias to use.
@@ -2309,6 +2560,8 @@ FLAGS
2309
2560
  --no-color Disable colored output
2310
2561
 
2311
2562
  GLOBAL FLAGS
2563
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2564
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2312
2565
  --json Format output as json.
2313
2566
  --log-level=<option> [default: info] Specify level for logging.
2314
2567
  <options: debug|warn|error|info|trace>
@@ -2392,7 +2645,7 @@ EXAMPLES
2392
2645
  $ nex log --no-color --auth dev-instance
2393
2646
  ```
2394
2647
 
2395
- _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/log/index.ts)_
2648
+ _See code: [src/commands/log/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/log/index.ts)_
2396
2649
 
2397
2650
  ## `nex plugins`
2398
2651
 
@@ -2690,8 +2943,8 @@ Query any ServiceNow table using the Table API.
2690
2943
 
2691
2944
  ```
2692
2945
  USAGE
2693
- $ nex query -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-q <value>] [-f
2694
- <value>] [-d] [-l <value>]
2946
+ $ nex query -t <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-q
2947
+ <value>] [-f <value>] [-d] [-l <value>]
2695
2948
 
2696
2949
  FLAGS
2697
2950
  -a, --auth=<value> Auth alias to use.
@@ -2703,6 +2956,8 @@ FLAGS
2703
2956
  -t, --table=<value> (required) ServiceNow table name to query
2704
2957
 
2705
2958
  GLOBAL FLAGS
2959
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
2960
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2706
2961
  --log-level=<option> [default: info] Specify level for logging.
2707
2962
  <options: debug|warn|error|info|trace>
2708
2963
 
@@ -2734,7 +2989,7 @@ EXAMPLES
2734
2989
  $ nex query --table sys_user --query "active=true" --limit 5 --json --auth dev
2735
2990
  ```
2736
2991
 
2737
- _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/query/index.ts)_
2992
+ _See code: [src/commands/query/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/query/index.ts)_
2738
2993
 
2739
2994
  ## `nex query app`
2740
2995
 
@@ -2742,7 +2997,8 @@ Search for applications by name across scoped apps and plugins.
2742
2997
 
2743
2998
  ```
2744
2999
  USAGE
2745
- $ nex query app -s <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-a] [-l <value>]
3000
+ $ nex query app -s <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-a]
3001
+ [-l <value>]
2746
3002
 
2747
3003
  FLAGS
2748
3004
  -a, --active Only show active applications
@@ -2752,6 +3008,8 @@ FLAGS
2752
3008
  -s, --search=<value> (required) Application name search term
2753
3009
 
2754
3010
  GLOBAL FLAGS
3011
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3012
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2755
3013
  --log-level=<option> [default: info] Specify level for logging.
2756
3014
  <options: debug|warn|error|info|trace>
2757
3015
 
@@ -2776,7 +3034,7 @@ EXAMPLES
2776
3034
  $ nex query app --search "HR" --active --auth dev
2777
3035
  ```
2778
3036
 
2779
- _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/query/app.ts)_
3037
+ _See code: [src/commands/query/app.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/query/app.ts)_
2780
3038
 
2781
3039
  ## `nex query columns`
2782
3040
 
@@ -2784,7 +3042,8 @@ List and search columns (fields) on a ServiceNow table.
2784
3042
 
2785
3043
  ```
2786
3044
  USAGE
2787
- $ nex query columns -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-s <value>]
3045
+ $ nex query columns -t <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-s
3046
+ <value>]
2788
3047
 
2789
3048
  FLAGS
2790
3049
  -a, --auth=<value> Auth alias to use.
@@ -2793,6 +3052,8 @@ FLAGS
2793
3052
  -t, --table=<value> (required) ServiceNow table name to list columns for
2794
3053
 
2795
3054
  GLOBAL FLAGS
3055
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3056
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2796
3057
  --log-level=<option> [default: info] Specify level for logging.
2797
3058
  <options: debug|warn|error|info|trace>
2798
3059
 
@@ -2820,7 +3081,7 @@ EXAMPLES
2820
3081
  $ nex query columns --table incident --json --auth dev
2821
3082
  ```
2822
3083
 
2823
- _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/query/columns.ts)_
3084
+ _See code: [src/commands/query/columns.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/query/columns.ts)_
2824
3085
 
2825
3086
  ## `nex query syslog`
2826
3087
 
@@ -2828,7 +3089,8 @@ Query ServiceNow system logs (one-shot, non-tailing).
2828
3089
 
2829
3090
  ```
2830
3091
  USAGE
2831
- $ nex query syslog [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-q <value>] [-l <value>]
3092
+ $ nex query syslog [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-q <value>] [-l
3093
+ <value>]
2832
3094
 
2833
3095
  FLAGS
2834
3096
  -a, --auth=<value> Auth alias to use.
@@ -2837,6 +3099,8 @@ FLAGS
2837
3099
  -q, --query=<value> ServiceNow encoded query string for filtering syslog records
2838
3100
 
2839
3101
  GLOBAL FLAGS
3102
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3103
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2840
3104
  --log-level=<option> [default: info] Specify level for logging.
2841
3105
  <options: debug|warn|error|info|trace>
2842
3106
 
@@ -2866,7 +3130,7 @@ EXAMPLES
2866
3130
  $ nex query syslog --query "sourceLIKEincident" --json --auth dev
2867
3131
  ```
2868
3132
 
2869
- _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/query/syslog.ts)_
3133
+ _See code: [src/commands/query/syslog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/query/syslog.ts)_
2870
3134
 
2871
3135
  ## `nex schema`
2872
3136
 
@@ -2874,8 +3138,8 @@ Discover and inspect a ServiceNow table schema including fields, types, and rela
2874
3138
 
2875
3139
  ```
2876
3140
  USAGE
2877
- $ nex schema -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [--include-choices]
2878
- [--include-relationships] [--include-ui-policies] [--include-business-rules]
3141
+ $ nex schema -t <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
3142
+ [--include-choices] [--include-relationships] [--include-ui-policies] [--include-business-rules]
2879
3143
 
2880
3144
  FLAGS
2881
3145
  -a, --auth=<value> Auth alias to use.
@@ -2887,6 +3151,8 @@ FLAGS
2887
3151
  --include-ui-policies Include UI policies in the schema output
2888
3152
 
2889
3153
  GLOBAL FLAGS
3154
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3155
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2890
3156
  --log-level=<option> [default: info] Specify level for logging.
2891
3157
  <options: debug|warn|error|info|trace>
2892
3158
 
@@ -2914,7 +3180,7 @@ EXAMPLES
2914
3180
  $ nex schema --table incident --include-choices --include-relationships --auth dev
2915
3181
  ```
2916
3182
 
2917
- _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/schema/index.ts)_
3183
+ _See code: [src/commands/schema/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/schema/index.ts)_
2918
3184
 
2919
3185
  ## `nex schema field`
2920
3186
 
@@ -2922,7 +3188,8 @@ Get detailed information about a specific field on a ServiceNow table.
2922
3188
 
2923
3189
  ```
2924
3190
  USAGE
2925
- $ nex schema field -t <value> -f <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace]
3191
+ $ nex schema field -t <value> -f <value> [-j] [-a <value>] [--cred-store] [--log-level
3192
+ debug|warn|error|info|trace]
2926
3193
 
2927
3194
  FLAGS
2928
3195
  -a, --auth=<value> Auth alias to use.
@@ -2931,6 +3198,8 @@ FLAGS
2931
3198
  -t, --table=<value> (required) ServiceNow table name
2932
3199
 
2933
3200
  GLOBAL FLAGS
3201
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3202
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2934
3203
  --log-level=<option> [default: info] Specify level for logging.
2935
3204
  <options: debug|warn|error|info|trace>
2936
3205
 
@@ -2950,7 +3219,7 @@ EXAMPLES
2950
3219
  $ nex schema field --table incident --field priority --json --auth dev
2951
3220
  ```
2952
3221
 
2953
- _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/schema/field.ts)_
3222
+ _See code: [src/commands/schema/field.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/schema/field.ts)_
2954
3223
 
2955
3224
  ## `nex schema validate-catalog`
2956
3225
 
@@ -2958,7 +3227,7 @@ Validate a ServiceNow catalog item configuration for common issues.
2958
3227
 
2959
3228
  ```
2960
3229
  USAGE
2961
- $ nex schema validate-catalog -s <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace]
3230
+ $ nex schema validate-catalog -s <value> [-j] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
2962
3231
 
2963
3232
  FLAGS
2964
3233
  -a, --auth=<value> Auth alias to use.
@@ -2966,6 +3235,8 @@ FLAGS
2966
3235
  -s, --sys-id=<value> (required) Catalog item sys_id to validate
2967
3236
 
2968
3237
  GLOBAL FLAGS
3238
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3239
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
2969
3240
  --log-level=<option> [default: info] Specify level for logging.
2970
3241
  <options: debug|warn|error|info|trace>
2971
3242
 
@@ -2985,7 +3256,7 @@ EXAMPLES
2985
3256
  $ nex schema validate-catalog --sys-id a1b2c3d4e5f6 --json --auth dev
2986
3257
  ```
2987
3258
 
2988
- _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/schema/validate-catalog.ts)_
3259
+ _See code: [src/commands/schema/validate-catalog.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/schema/validate-catalog.ts)_
2989
3260
 
2990
3261
  ## `nex scope`
2991
3262
 
@@ -2993,13 +3264,15 @@ Get the current application scope or list available applications.
2993
3264
 
2994
3265
  ```
2995
3266
  USAGE
2996
- $ nex scope [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-l]
3267
+ $ nex scope [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-l]
2997
3268
 
2998
3269
  FLAGS
2999
3270
  -a, --auth=<value> Auth alias to use.
3000
3271
  -l, --list List all available applications
3001
3272
 
3002
3273
  GLOBAL FLAGS
3274
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3275
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3003
3276
  --json Format output as json.
3004
3277
  --log-level=<option> [default: info] Specify level for logging.
3005
3278
  <options: debug|warn|error|info|trace>
@@ -3021,7 +3294,7 @@ EXAMPLES
3021
3294
  $ nex scope -l --json --auth dev
3022
3295
  ```
3023
3296
 
3024
- _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/scope/index.ts)_
3297
+ _See code: [src/commands/scope/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/scope/index.ts)_
3025
3298
 
3026
3299
  ## `nex scope set`
3027
3300
 
@@ -3029,13 +3302,15 @@ Set the current application scope on a ServiceNow instance.
3029
3302
 
3030
3303
  ```
3031
3304
  USAGE
3032
- $ nex scope set -a <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3305
+ $ nex scope set -a <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
3033
3306
 
3034
3307
  FLAGS
3035
3308
  -a, --app-id=<value> (required) 32-char sys_id of application
3036
3309
  -a, --auth=<value> Auth alias to use.
3037
3310
 
3038
3311
  GLOBAL FLAGS
3312
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3313
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3039
3314
  --json Format output as json.
3040
3315
  --log-level=<option> [default: info] Specify level for logging.
3041
3316
  <options: debug|warn|error|info|trace>
@@ -3053,7 +3328,7 @@ EXAMPLES
3053
3328
  $ nex scope set -a abc123def456ghi789jkl012mno345pq --json --auth dev
3054
3329
  ```
3055
3330
 
3056
- _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/scope/set.ts)_
3331
+ _See code: [src/commands/scope/set.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/scope/set.ts)_
3057
3332
 
3058
3333
  ## `nex script-sync pull`
3059
3334
 
@@ -3062,7 +3337,7 @@ Pull a script from a ServiceNow instance to a local file.
3062
3337
  ```
3063
3338
  USAGE
3064
3339
  $ nex script-sync pull -n <value> -t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client
3065
- [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-o <value>]
3340
+ [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-o <value>]
3066
3341
 
3067
3342
  FLAGS
3068
3343
  -a, --auth=<value> Auth alias to use.
@@ -3072,6 +3347,8 @@ FLAGS
3072
3347
  <options: sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client>
3073
3348
 
3074
3349
  GLOBAL FLAGS
3350
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3351
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3075
3352
  --json Format output as json.
3076
3353
  --log-level=<option> [default: info] Specify level for logging.
3077
3354
  <options: debug|warn|error|info|trace>
@@ -3102,7 +3379,7 @@ EXAMPLES
3102
3379
  $ nex script-sync pull -n MyClientScript -t sys_script_client --json --auth dev-instance
3103
3380
  ```
3104
3381
 
3105
- _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/script-sync/pull.ts)_
3382
+ _See code: [src/commands/script-sync/pull.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/script-sync/pull.ts)_
3106
3383
 
3107
3384
  ## `nex script-sync push`
3108
3385
 
@@ -3111,7 +3388,7 @@ Push a local script file to a ServiceNow instance.
3111
3388
  ```
3112
3389
  USAGE
3113
3390
  $ nex script-sync push -n <value> -t sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client -f
3114
- <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3391
+ <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
3115
3392
 
3116
3393
  FLAGS
3117
3394
  -a, --auth=<value> Auth alias to use.
@@ -3121,6 +3398,8 @@ FLAGS
3121
3398
  <options: sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client>
3122
3399
 
3123
3400
  GLOBAL FLAGS
3401
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3402
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3124
3403
  --json Format output as json.
3125
3404
  --log-level=<option> [default: info] Specify level for logging.
3126
3405
  <options: debug|warn|error|info|trace>
@@ -3152,7 +3431,7 @@ EXAMPLES
3152
3431
  $ nex script-sync push -n MyUIScript -t sys_ui_script -f ./scripts/ui-script.js --json --auth dev-instance
3153
3432
  ```
3154
3433
 
3155
- _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/script-sync/push.ts)_
3434
+ _See code: [src/commands/script-sync/push.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/script-sync/push.ts)_
3156
3435
 
3157
3436
  ## `nex script-sync sync`
3158
3437
 
@@ -3160,7 +3439,7 @@ Synchronize all scripts in a directory with a ServiceNow instance.
3160
3439
 
3161
3440
  ```
3162
3441
  USAGE
3163
- $ nex script-sync sync -d <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-t
3442
+ $ nex script-sync sync -d <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-t
3164
3443
  sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client...]
3165
3444
 
3166
3445
  FLAGS
@@ -3170,6 +3449,8 @@ FLAGS
3170
3449
  <options: sys_script_include|sys_script|sys_ui_script|sys_ui_action|sys_script_client>
3171
3450
 
3172
3451
  GLOBAL FLAGS
3452
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3453
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3173
3454
  --json Format output as json.
3174
3455
  --log-level=<option> [default: info] Specify level for logging.
3175
3456
  <options: debug|warn|error|info|trace>
@@ -3200,7 +3481,7 @@ EXAMPLES
3200
3481
  $ nex script-sync sync -d ./scripts --json --auth dev-instance
3201
3482
  ```
3202
3483
 
3203
- _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/script-sync/sync.ts)_
3484
+ _See code: [src/commands/script-sync/sync.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/script-sync/sync.ts)_
3204
3485
 
3205
3486
  ## `nex search`
3206
3487
 
@@ -3208,8 +3489,8 @@ Search platform code across a ServiceNow instance.
3208
3489
 
3209
3490
  ```
3210
3491
  USAGE
3211
- $ nex search -t <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-l <value>] [-s
3212
- <value>] [-g <value>] [--table <value>]
3492
+ $ nex search -t <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-l
3493
+ <value>] [-s <value>] [-g <value>] [--table <value>]
3213
3494
 
3214
3495
  FLAGS
3215
3496
  -a, --auth=<value> Auth alias to use.
@@ -3220,6 +3501,8 @@ FLAGS
3220
3501
  --table=<value> Table name to search within (requires --search-group)
3221
3502
 
3222
3503
  GLOBAL FLAGS
3504
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3505
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3223
3506
  --json Format output as json.
3224
3507
  --log-level=<option> [default: info] Specify level for logging.
3225
3508
  <options: debug|warn|error|info|trace>
@@ -3256,7 +3539,7 @@ EXAMPLES
3256
3539
  $ nex search --term "GlideRecord" --limit 10 --json --auth dev-instance
3257
3540
  ```
3258
3541
 
3259
- _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/search/index.ts)_
3542
+ _See code: [src/commands/search/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/search/index.ts)_
3260
3543
 
3261
3544
  ## `nex search add-table`
3262
3545
 
@@ -3264,7 +3547,7 @@ Add a table to a code search group on a ServiceNow instance.
3264
3547
 
3265
3548
  ```
3266
3549
  USAGE
3267
- $ nex search add-table -f <value> -g <value> -t <value> [--json] [-a <value>] [--log-level
3550
+ $ nex search add-table -f <value> -g <value> -t <value> [--json] [-a <value>] [--cred-store] [--log-level
3268
3551
  debug|warn|error|info|trace]
3269
3552
 
3270
3553
  FLAGS
@@ -3274,6 +3557,8 @@ FLAGS
3274
3557
  -t, --table=<value> (required) Table name to add to the search group
3275
3558
 
3276
3559
  GLOBAL FLAGS
3560
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3561
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3277
3562
  --json Format output as json.
3278
3563
  --log-level=<option> [default: info] Specify level for logging.
3279
3564
  <options: debug|warn|error|info|trace>
@@ -3306,7 +3591,7 @@ EXAMPLES
3306
3591
  dev-instance
3307
3592
  ```
3308
3593
 
3309
- _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/search/add-table.ts)_
3594
+ _See code: [src/commands/search/add-table.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/search/add-table.ts)_
3310
3595
 
3311
3596
  ## `nex search groups`
3312
3597
 
@@ -3314,12 +3599,14 @@ List all available code search groups on a ServiceNow instance.
3314
3599
 
3315
3600
  ```
3316
3601
  USAGE
3317
- $ nex search groups [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3602
+ $ nex search groups [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
3318
3603
 
3319
3604
  FLAGS
3320
3605
  -a, --auth=<value> Auth alias to use.
3321
3606
 
3322
3607
  GLOBAL FLAGS
3608
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3609
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3323
3610
  --json Format output as json.
3324
3611
  --log-level=<option> [default: info] Specify level for logging.
3325
3612
  <options: debug|warn|error|info|trace>
@@ -3344,7 +3631,7 @@ EXAMPLES
3344
3631
  $ nex search groups --json --auth dev-instance
3345
3632
  ```
3346
3633
 
3347
- _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/search/groups.ts)_
3634
+ _See code: [src/commands/search/groups.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/search/groups.ts)_
3348
3635
 
3349
3636
  ## `nex search tables`
3350
3637
 
@@ -3352,13 +3639,15 @@ List tables configured for a specific code search group.
3352
3639
 
3353
3640
  ```
3354
3641
  USAGE
3355
- $ nex search tables -g <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3642
+ $ nex search tables -g <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
3356
3643
 
3357
3644
  FLAGS
3358
3645
  -a, --auth=<value> Auth alias to use.
3359
3646
  -g, --search-group=<value> (required) Search group name to list tables for
3360
3647
 
3361
3648
  GLOBAL FLAGS
3649
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3650
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3362
3651
  --json Format output as json.
3363
3652
  --log-level=<option> [default: info] Specify level for logging.
3364
3653
  <options: debug|warn|error|info|trace>
@@ -3384,7 +3673,7 @@ EXAMPLES
3384
3673
  $ nex search tables --search-group "Business Rules" --json --auth dev-instance
3385
3674
  ```
3386
3675
 
3387
- _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/search/tables.ts)_
3676
+ _See code: [src/commands/search/tables.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/search/tables.ts)_
3388
3677
 
3389
3678
  ## `nex store install`
3390
3679
 
@@ -3392,8 +3681,8 @@ Install an application from the ServiceNow Store.
3392
3681
 
3393
3682
  ```
3394
3683
  USAGE
3395
- $ nex store install -a <value> -v <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3396
- [--demo-data] [--no-wait] [--poll-interval <value>] [--timeout <value>]
3684
+ $ nex store install -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-level
3685
+ debug|warn|error|info|trace] [--demo-data] [--no-wait] [--poll-interval <value>] [--timeout <value>]
3397
3686
 
3398
3687
  FLAGS
3399
3688
  -a, --app-id=<value> (required) Store application sys_id
@@ -3405,6 +3694,8 @@ FLAGS
3405
3694
  --timeout=<value> [default: 1800000] Installation timeout in milliseconds
3406
3695
 
3407
3696
  GLOBAL FLAGS
3697
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3698
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3408
3699
  --json Format output as json.
3409
3700
  --log-level=<option> [default: info] Specify level for logging.
3410
3701
  <options: debug|warn|error|info|trace>
@@ -3426,7 +3717,7 @@ EXAMPLES
3426
3717
  $ nex store install -a abc123 -v 1.0.0 --demo-data --auth dev
3427
3718
  ```
3428
3719
 
3429
- _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/store/install.ts)_
3720
+ _See code: [src/commands/store/install.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/store/install.ts)_
3430
3721
 
3431
3722
  ## `nex store search`
3432
3723
 
@@ -3434,8 +3725,8 @@ Search for applications in the ServiceNow Store.
3434
3725
 
3435
3726
  ```
3436
3727
  USAGE
3437
- $ nex store search [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [--limit <value>] [--tab
3438
- available_for_you|installed|updates] [-t <value>]
3728
+ $ nex store search [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [--limit
3729
+ <value>] [--tab available_for_you|installed|updates] [-t <value>]
3439
3730
 
3440
3731
  FLAGS
3441
3732
  -a, --auth=<value> Auth alias to use.
@@ -3445,6 +3736,8 @@ FLAGS
3445
3736
  <options: available_for_you|installed|updates>
3446
3737
 
3447
3738
  GLOBAL FLAGS
3739
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3740
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3448
3741
  --json Format output as json.
3449
3742
  --log-level=<option> [default: info] Specify level for logging.
3450
3743
  <options: debug|warn|error|info|trace>
@@ -3466,7 +3759,7 @@ EXAMPLES
3466
3759
  $ nex store search --tab updates --limit 10 --auth dev
3467
3760
  ```
3468
3761
 
3469
- _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/store/search.ts)_
3762
+ _See code: [src/commands/store/search.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/store/search.ts)_
3470
3763
 
3471
3764
  ## `nex store update`
3472
3765
 
@@ -3474,8 +3767,8 @@ Update a ServiceNow Store application to a new version.
3474
3767
 
3475
3768
  ```
3476
3769
  USAGE
3477
- $ nex store update -a <value> -v <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3478
- [--no-wait] [--poll-interval <value>] [--timeout <value>]
3770
+ $ nex store update -a <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-level
3771
+ debug|warn|error|info|trace] [--no-wait] [--poll-interval <value>] [--timeout <value>]
3479
3772
 
3480
3773
  FLAGS
3481
3774
  -a, --app-id=<value> (required) Store application sys_id
@@ -3486,6 +3779,8 @@ FLAGS
3486
3779
  --timeout=<value> [default: 1800000] Update timeout in milliseconds
3487
3780
 
3488
3781
  GLOBAL FLAGS
3782
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3783
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3489
3784
  --json Format output as json.
3490
3785
  --log-level=<option> [default: info] Specify level for logging.
3491
3786
  <options: debug|warn|error|info|trace>
@@ -3507,7 +3802,7 @@ EXAMPLES
3507
3802
  $ nex store update -a abc123 -v 2.0.0 --timeout 3600000 --auth dev
3508
3803
  ```
3509
3804
 
3510
- _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/store/update.ts)_
3805
+ _See code: [src/commands/store/update.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/store/update.ts)_
3511
3806
 
3512
3807
  ## `nex store validate`
3513
3808
 
@@ -3515,13 +3810,15 @@ Validate a batch installation definition file.
3515
3810
 
3516
3811
  ```
3517
3812
  USAGE
3518
- $ nex store validate -f <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3813
+ $ nex store validate -f <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
3519
3814
 
3520
3815
  FLAGS
3521
3816
  -a, --auth=<value> Auth alias to use.
3522
3817
  -f, --file=<value> (required) Path to batch definition JSON file
3523
3818
 
3524
3819
  GLOBAL FLAGS
3820
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3821
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3525
3822
  --json Format output as json.
3526
3823
  --log-level=<option> [default: info] Specify level for logging.
3527
3824
  <options: debug|warn|error|info|trace>
@@ -3535,7 +3832,7 @@ EXAMPLES
3535
3832
  $ nex store validate --file ./batch-definition.json --auth dev
3536
3833
  ```
3537
3834
 
3538
- _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/store/validate.ts)_
3835
+ _See code: [src/commands/store/validate.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/store/validate.ts)_
3539
3836
 
3540
3837
  ## `nex task approve`
3541
3838
 
@@ -3543,7 +3840,8 @@ Approve a ServiceNow change request.
3543
3840
 
3544
3841
  ```
3545
3842
  USAGE
3546
- $ nex task approve -n <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-c <value>]
3843
+ $ nex task approve -n <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-c
3844
+ <value>]
3547
3845
 
3548
3846
  FLAGS
3549
3847
  -a, --auth=<value> Auth alias to use.
@@ -3551,6 +3849,8 @@ FLAGS
3551
3849
  -n, --number=<value> (required) Change request number (e.g., CHG0010001)
3552
3850
 
3553
3851
  GLOBAL FLAGS
3852
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3853
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3554
3854
  --json Format output as json.
3555
3855
  --log-level=<option> [default: info] Specify level for logging.
3556
3856
  <options: debug|warn|error|info|trace>
@@ -3575,7 +3875,7 @@ EXAMPLES
3575
3875
  $ nex task approve -n CHG0010001 -c "Looks good, approved" --auth dev
3576
3876
  ```
3577
3877
 
3578
- _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/task/approve.ts)_
3878
+ _See code: [src/commands/task/approve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/task/approve.ts)_
3579
3879
 
3580
3880
  ## `nex task assign`
3581
3881
 
@@ -3583,8 +3883,8 @@ Assign a ServiceNow task to a user or group.
3583
3883
 
3584
3884
  ```
3585
3885
  USAGE
3586
- $ nex task assign -n <value> -u <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-g
3587
- <value>] [--table <value>]
3886
+ $ nex task assign -n <value> -u <value> [--json] [-a <value>] [--cred-store] [--log-level
3887
+ debug|warn|error|info|trace] [-g <value>] [--table <value>]
3588
3888
 
3589
3889
  FLAGS
3590
3890
  -a, --auth=<value> Auth alias to use.
@@ -3594,6 +3894,8 @@ FLAGS
3594
3894
  --table=<value> [default: task] ServiceNow table name
3595
3895
 
3596
3896
  GLOBAL FLAGS
3897
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3898
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3597
3899
  --json Format output as json.
3598
3900
  --log-level=<option> [default: info] Specify level for logging.
3599
3901
  <options: debug|warn|error|info|trace>
@@ -3625,7 +3927,7 @@ EXAMPLES
3625
3927
  $ nex task assign --number CHG0010001 --table change_request --user admin --auth dev
3626
3928
  ```
3627
3929
 
3628
- _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/task/assign.ts)_
3930
+ _See code: [src/commands/task/assign.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/task/assign.ts)_
3629
3931
 
3630
3932
  ## `nex task close`
3631
3933
 
@@ -3633,8 +3935,8 @@ Close a ServiceNow incident.
3633
3935
 
3634
3936
  ```
3635
3937
  USAGE
3636
- $ nex task close --notes <value> -n <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3637
- [--close-code <value>]
3938
+ $ nex task close --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-level
3939
+ debug|warn|error|info|trace] [--close-code <value>]
3638
3940
 
3639
3941
  FLAGS
3640
3942
  -a, --auth=<value> Auth alias to use.
@@ -3643,6 +3945,8 @@ FLAGS
3643
3945
  --notes=<value> (required) Close notes
3644
3946
 
3645
3947
  GLOBAL FLAGS
3948
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3949
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3646
3950
  --json Format output as json.
3647
3951
  --log-level=<option> [default: info] Specify level for logging.
3648
3952
  <options: debug|warn|error|info|trace>
@@ -3668,7 +3972,7 @@ EXAMPLES
3668
3972
  $ nex task close -n INC0010001 --notes "Closed" --close-code "Solved (Permanently)" --auth dev
3669
3973
  ```
3670
3974
 
3671
- _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/task/close.ts)_
3975
+ _See code: [src/commands/task/close.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/task/close.ts)_
3672
3976
 
3673
3977
  ## `nex task comment`
3674
3978
 
@@ -3676,8 +3980,8 @@ Add a comment or work note to a ServiceNow task.
3676
3980
 
3677
3981
  ```
3678
3982
  USAGE
3679
- $ nex task comment -c <value> -n <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3680
- [--table <value>] [--work-note]
3983
+ $ nex task comment -c <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-level
3984
+ debug|warn|error|info|trace] [--table <value>] [--work-note]
3681
3985
 
3682
3986
  FLAGS
3683
3987
  -a, --auth=<value> Auth alias to use.
@@ -3687,6 +3991,8 @@ FLAGS
3687
3991
  --work-note Add as work note instead of comment
3688
3992
 
3689
3993
  GLOBAL FLAGS
3994
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
3995
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3690
3996
  --json Format output as json.
3691
3997
  --log-level=<option> [default: info] Specify level for logging.
3692
3998
  <options: debug|warn|error|info|trace>
@@ -3717,7 +4023,7 @@ EXAMPLES
3717
4023
  $ nex task comment --number CHG0010001 --table change_request --comment "Approved" --auth dev
3718
4024
  ```
3719
4025
 
3720
- _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/task/comment.ts)_
4026
+ _See code: [src/commands/task/comment.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/task/comment.ts)_
3721
4027
 
3722
4028
  ## `nex task find`
3723
4029
 
@@ -3725,7 +4031,8 @@ Find a ServiceNow task by its number.
3725
4031
 
3726
4032
  ```
3727
4033
  USAGE
3728
- $ nex task find -n <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [--table <value>]
4034
+ $ nex task find -n <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
4035
+ [--table <value>]
3729
4036
 
3730
4037
  FLAGS
3731
4038
  -a, --auth=<value> Auth alias to use.
@@ -3733,6 +4040,8 @@ FLAGS
3733
4040
  --table=<value> [default: task] ServiceNow table name
3734
4041
 
3735
4042
  GLOBAL FLAGS
4043
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4044
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3736
4045
  --json Format output as json.
3737
4046
  --log-level=<option> [default: info] Specify level for logging.
3738
4047
  <options: debug|warn|error|info|trace>
@@ -3762,7 +4071,7 @@ EXAMPLES
3762
4071
  $ nex task find -n INC0010001 --json --auth dev
3763
4072
  ```
3764
4073
 
3765
- _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/task/find.ts)_
4074
+ _See code: [src/commands/task/find.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/task/find.ts)_
3766
4075
 
3767
4076
  ## `nex task resolve`
3768
4077
 
@@ -3770,8 +4079,8 @@ Resolve a ServiceNow incident with resolution notes.
3770
4079
 
3771
4080
  ```
3772
4081
  USAGE
3773
- $ nex task resolve --notes <value> -n <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
3774
- [--close-code <value>]
4082
+ $ nex task resolve --notes <value> -n <value> [--json] [-a <value>] [--cred-store] [--log-level
4083
+ debug|warn|error|info|trace] [--close-code <value>]
3775
4084
 
3776
4085
  FLAGS
3777
4086
  -a, --auth=<value> Auth alias to use.
@@ -3780,6 +4089,8 @@ FLAGS
3780
4089
  --notes=<value> (required) Resolution notes
3781
4090
 
3782
4091
  GLOBAL FLAGS
4092
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4093
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3783
4094
  --json Format output as json.
3784
4095
  --log-level=<option> [default: info] Specify level for logging.
3785
4096
  <options: debug|warn|error|info|trace>
@@ -3805,7 +4116,7 @@ EXAMPLES
3805
4116
  $ nex task resolve -n INC0010001 --notes "Fixed" --close-code "Solved (Permanently)" --auth dev
3806
4117
  ```
3807
4118
 
3808
- _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/task/resolve.ts)_
4119
+ _See code: [src/commands/task/resolve.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/task/resolve.ts)_
3809
4120
 
3810
4121
  ## `nex update-set`
3811
4122
 
@@ -3813,7 +4124,8 @@ List update sets on a ServiceNow instance.
3813
4124
 
3814
4125
  ```
3815
4126
  USAGE
3816
- $ nex update-set [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [--limit <value>] [-q <value>]
4127
+ $ nex update-set [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [--limit
4128
+ <value>] [-q <value>]
3817
4129
 
3818
4130
  FLAGS
3819
4131
  -a, --auth=<value> Auth alias to use.
@@ -3821,6 +4133,8 @@ FLAGS
3821
4133
  --limit=<value> [default: 20] Maximum number of update sets to return
3822
4134
 
3823
4135
  GLOBAL FLAGS
4136
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4137
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3824
4138
  --json Format output as json.
3825
4139
  --log-level=<option> [default: info] Specify level for logging.
3826
4140
  <options: debug|warn|error|info|trace>
@@ -3842,7 +4156,7 @@ EXAMPLES
3842
4156
  $ nex update-set --json --auth dev-instance
3843
4157
  ```
3844
4158
 
3845
- _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/update-set/index.ts)_
4159
+ _See code: [src/commands/update-set/index.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/update-set/index.ts)_
3846
4160
 
3847
4161
  ## `nex update-set clone`
3848
4162
 
@@ -3850,7 +4164,8 @@ Clone an update set and its records.
3850
4164
 
3851
4165
  ```
3852
4166
  USAGE
3853
- $ nex update-set clone -n <value> -s <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
4167
+ $ nex update-set clone -n <value> -s <value> [--json] [-a <value>] [--cred-store] [--log-level
4168
+ debug|warn|error|info|trace]
3854
4169
 
3855
4170
  FLAGS
3856
4171
  -a, --auth=<value> Auth alias to use.
@@ -3858,6 +4173,8 @@ FLAGS
3858
4173
  -s, --source=<value> (required) Source update set sys_id
3859
4174
 
3860
4175
  GLOBAL FLAGS
4176
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4177
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3861
4178
  --json Format output as json.
3862
4179
  --log-level=<option> [default: info] Specify level for logging.
3863
4180
  <options: debug|warn|error|info|trace>
@@ -3875,7 +4192,7 @@ EXAMPLES
3875
4192
  $ nex update-set clone --source us-001 --name "Cloned Set" --json --auth dev-instance
3876
4193
  ```
3877
4194
 
3878
- _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/update-set/clone.ts)_
4195
+ _See code: [src/commands/update-set/clone.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/update-set/clone.ts)_
3879
4196
 
3880
4197
  ## `nex update-set create`
3881
4198
 
@@ -3883,8 +4200,8 @@ Create a new update set.
3883
4200
 
3884
4201
  ```
3885
4202
  USAGE
3886
- $ nex update-set create -n <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [--application
3887
- <value>] [-d <value>]
4203
+ $ nex update-set create -n <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
4204
+ [--application <value>] [-d <value>]
3888
4205
 
3889
4206
  FLAGS
3890
4207
  -a, --auth=<value> Auth alias to use.
@@ -3893,6 +4210,8 @@ FLAGS
3893
4210
  --application=<value> Application scope for the new update set
3894
4211
 
3895
4212
  GLOBAL FLAGS
4213
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4214
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3896
4215
  --json Format output as json.
3897
4216
  --log-level=<option> [default: info] Specify level for logging.
3898
4217
  <options: debug|warn|error|info|trace>
@@ -3914,7 +4233,7 @@ EXAMPLES
3914
4233
  $ nex update-set create --name "My Feature Set" --application x_my_app --auth dev-instance
3915
4234
  ```
3916
4235
 
3917
- _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/update-set/create.ts)_
4236
+ _See code: [src/commands/update-set/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/update-set/create.ts)_
3918
4237
 
3919
4238
  ## `nex update-set current`
3920
4239
 
@@ -3922,13 +4241,15 @@ Get or set the current update set.
3922
4241
 
3923
4242
  ```
3924
4243
  USAGE
3925
- $ nex update-set current [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [-s <value>]
4244
+ $ nex update-set current [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace] [-s <value>]
3926
4245
 
3927
4246
  FLAGS
3928
4247
  -a, --auth=<value> Auth alias to use.
3929
4248
  -s, --set=<value> sys_id of update set to make current
3930
4249
 
3931
4250
  GLOBAL FLAGS
4251
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4252
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3932
4253
  --json Format output as json.
3933
4254
  --log-level=<option> [default: info] Specify level for logging.
3934
4255
  <options: debug|warn|error|info|trace>
@@ -3950,7 +4271,7 @@ EXAMPLES
3950
4271
  $ nex update-set current --json --auth dev-instance
3951
4272
  ```
3952
4273
 
3953
- _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/update-set/current.ts)_
4274
+ _See code: [src/commands/update-set/current.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/update-set/current.ts)_
3954
4275
 
3955
4276
  ## `nex update-set inspect`
3956
4277
 
@@ -3958,13 +4279,15 @@ Inspect the components of an update set.
3958
4279
 
3959
4280
  ```
3960
4281
  USAGE
3961
- $ nex update-set inspect -s <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
4282
+ $ nex update-set inspect -s <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
3962
4283
 
3963
4284
  FLAGS
3964
4285
  -a, --auth=<value> Auth alias to use.
3965
4286
  -s, --sys-id=<value> (required) sys_id of the update set to inspect
3966
4287
 
3967
4288
  GLOBAL FLAGS
4289
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4290
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
3968
4291
  --json Format output as json.
3969
4292
  --log-level=<option> [default: info] Specify level for logging.
3970
4293
  <options: debug|warn|error|info|trace>
@@ -3982,7 +4305,7 @@ EXAMPLES
3982
4305
  $ nex update-set inspect --sys-id us-001 --json --auth dev-instance
3983
4306
  ```
3984
4307
 
3985
- _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/update-set/inspect.ts)_
4308
+ _See code: [src/commands/update-set/inspect.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/update-set/inspect.ts)_
3986
4309
 
3987
4310
  ## `nex update-set move`
3988
4311
 
@@ -3990,8 +4313,8 @@ Move records between update sets.
3990
4313
 
3991
4314
  ```
3992
4315
  USAGE
3993
- $ nex update-set move --target <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace] [--records
3994
- <value>] [--source <value>]
4316
+ $ nex update-set move --target <value> [--json] [-a <value>] [--cred-store] [--log-level
4317
+ debug|warn|error|info|trace] [--records <value>] [--source <value>]
3995
4318
 
3996
4319
  FLAGS
3997
4320
  -a, --auth=<value> Auth alias to use.
@@ -4000,6 +4323,8 @@ FLAGS
4000
4323
  --target=<value> (required) Target update set sys_id
4001
4324
 
4002
4325
  GLOBAL FLAGS
4326
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4327
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4003
4328
  --json Format output as json.
4004
4329
  --log-level=<option> [default: info] Specify level for logging.
4005
4330
  <options: debug|warn|error|info|trace>
@@ -4021,7 +4346,7 @@ EXAMPLES
4021
4346
  $ nex update-set move --target us-002 --source us-001 --json --auth dev-instance
4022
4347
  ```
4023
4348
 
4024
- _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/update-set/move.ts)_
4349
+ _See code: [src/commands/update-set/move.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/update-set/move.ts)_
4025
4350
 
4026
4351
  ## `nex workflow create`
4027
4352
 
@@ -4029,13 +4354,15 @@ Create a complete workflow from a JSON specification file.
4029
4354
 
4030
4355
  ```
4031
4356
  USAGE
4032
- $ nex workflow create -s <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
4357
+ $ nex workflow create -s <value> [--json] [-a <value>] [--cred-store] [--log-level debug|warn|error|info|trace]
4033
4358
 
4034
4359
  FLAGS
4035
4360
  -a, --auth=<value> Auth alias to use.
4036
4361
  -s, --spec=<value> (required) Path to workflow JSON specification file
4037
4362
 
4038
4363
  GLOBAL FLAGS
4364
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4365
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4039
4366
  --json Format output as json.
4040
4367
  --log-level=<option> [default: info] Specify level for logging.
4041
4368
  <options: debug|warn|error|info|trace>
@@ -4053,7 +4380,7 @@ EXAMPLES
4053
4380
  $ nex workflow create -s ./workflow.json --json --auth dev
4054
4381
  ```
4055
4382
 
4056
- _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/workflow/create.ts)_
4383
+ _See code: [src/commands/workflow/create.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/workflow/create.ts)_
4057
4384
 
4058
4385
  ## `nex workflow publish`
4059
4386
 
@@ -4061,7 +4388,8 @@ Publish a workflow version.
4061
4388
 
4062
4389
  ```
4063
4390
  USAGE
4064
- $ nex workflow publish -s <value> -v <value> [--json] [-a <value>] [--log-level debug|warn|error|info|trace]
4391
+ $ nex workflow publish -s <value> -v <value> [--json] [-a <value>] [--cred-store] [--log-level
4392
+ debug|warn|error|info|trace]
4065
4393
 
4066
4394
  FLAGS
4067
4395
  -a, --auth=<value> Auth alias to use.
@@ -4069,6 +4397,8 @@ FLAGS
4069
4397
  -v, --version-id=<value> (required) Sys ID of the workflow version to publish
4070
4398
 
4071
4399
  GLOBAL FLAGS
4400
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4401
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4072
4402
  --json Format output as json.
4073
4403
  --log-level=<option> [default: info] Specify level for logging.
4074
4404
  <options: debug|warn|error|info|trace>
@@ -4086,7 +4416,7 @@ EXAMPLES
4086
4416
  $ nex workflow publish -v wfv-001 -s act-001 --json --auth dev
4087
4417
  ```
4088
4418
 
4089
- _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/workflow/publish.ts)_
4419
+ _See code: [src/commands/workflow/publish.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/workflow/publish.ts)_
4090
4420
 
4091
4421
  ## `nex xml export`
4092
4422
 
@@ -4094,7 +4424,8 @@ Export a single ServiceNow record as XML.
4094
4424
 
4095
4425
  ```
4096
4426
  USAGE
4097
- $ nex xml export -t <value> -s <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace] [-o <value>]
4427
+ $ nex xml export -t <value> -s <value> [-j] [-a <value>] [--cred-store] [--log-level
4428
+ debug|warn|error|info|trace] [-o <value>]
4098
4429
 
4099
4430
  FLAGS
4100
4431
  -a, --auth=<value> Auth alias to use.
@@ -4104,6 +4435,8 @@ FLAGS
4104
4435
  -t, --table=<value> (required) Table name of the record to export
4105
4436
 
4106
4437
  GLOBAL FLAGS
4438
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4439
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4107
4440
  --log-level=<option> [default: info] Specify level for logging.
4108
4441
  <options: debug|warn|error|info|trace>
4109
4442
 
@@ -4133,7 +4466,7 @@ EXAMPLES
4133
4466
  $ nex xml export --table sys_script --sys-id abc123 --json --auth dev
4134
4467
  ```
4135
4468
 
4136
- _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/xml/export.ts)_
4469
+ _See code: [src/commands/xml/export.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/xml/export.ts)_
4137
4470
 
4138
4471
  ## `nex xml import`
4139
4472
 
@@ -4141,7 +4474,8 @@ Import XML records into a ServiceNow instance.
4141
4474
 
4142
4475
  ```
4143
4476
  USAGE
4144
- $ nex xml import -f <value> -t <value> [-j] [-a <value>] [--log-level debug|warn|error|info|trace]
4477
+ $ nex xml import -f <value> -t <value> [-j] [-a <value>] [--cred-store] [--log-level
4478
+ debug|warn|error|info|trace]
4145
4479
 
4146
4480
  FLAGS
4147
4481
  -a, --auth=<value> Auth alias to use.
@@ -4150,6 +4484,8 @@ FLAGS
4150
4484
  -t, --table=<value> (required) Target table to import records into
4151
4485
 
4152
4486
  GLOBAL FLAGS
4487
+ --cred-store Read credentials from @sonisoft/sn-credstore instead of the OS keyring. Use this in headless
4488
+ sessions (SSH, systemd, CI, agents) where the keyring cannot be unlocked.
4153
4489
  --log-level=<option> [default: info] Specify level for logging.
4154
4490
  <options: debug|warn|error|info|trace>
4155
4491
 
@@ -4174,7 +4510,7 @@ EXAMPLES
4174
4510
  $ nex xml import --file ./records.xml --table incident --json --auth dev
4175
4511
  ```
4176
4512
 
4177
- _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v3.0.0/src/commands/xml/import.ts)_
4513
+ _See code: [src/commands/xml/import.ts](https://github.com/sonisoft-cnanda/now-sdk-ext-cli/blob/v5.0.0/src/commands/xml/import.ts)_
4178
4514
  <!-- commandsstop -->
4179
4515
 
4180
4516
  ---