You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -344,6 +374,7 @@ var storesCreateFromCSVCmd = &cobra.Command{
344
374
Int("totalSuccess", totalSuccess).Send()
345
375
346
376
log.Info().Msgf("Writing results to file '%s'", outPath)
377
+
347
378
//writeCsvFile(outPath, originalMap)
348
379
mapToCSV(inputMap, outPath)
349
380
log.Info().Int("totalRows", totalRows).
@@ -1120,6 +1151,28 @@ func init() {
1120
1151
-1,
1121
1152
"The ID of the cert store type for the stores.",
1122
1153
)
1154
+
storesCreateFromCSVCmd.Flags().StringVarP(
1155
+
&storeTypeName,
1156
+
"server-username",
1157
+
"u",
1158
+
"",
1159
+
"The username Keyfactor Command will use to use connect to the certificate store host. This field can be specified in the CSV file in the column `Properties.ServerUsername`.",
1160
+
)
1161
+
storesCreateFromCSVCmd.Flags().StringVarP(
1162
+
&storeTypeName,
1163
+
"server-password",
1164
+
"p",
1165
+
"",
1166
+
"The password Keyfactor Command will use to use connect to the certificate store host. This field can be specified in the CSV file in the column `Properties.ServerPassword`.",
1167
+
)
1168
+
storesCreateFromCSVCmd.Flags().StringVarP(
1169
+
&storeTypeName,
1170
+
"store-password",
1171
+
"s",
1172
+
"",
1173
+
"The credential information Keyfactor Command will use to access the certificates in a specific certificate store (the store password). This is different from credential information Keyfactor Command uses to access a certificate store host. This field can be specified in the CSV file in the column `Password`.",
0 commit comments