returnerrors.Wrap(err,"flag `--management-key` is not valid")
}
}
returnnil
returnnil
}
}
}
}
funcmain(){
funcmain(){
varcConfig
varcConfig
flag.StringVar(&c.ManagementKey,"management-key","",`Management key to use in hexadecimal format. (default "010203040506070801020304050607080102030405060708")`)
flag.BoolVar(&c.RootOnly,"root-only",false,"Slot only the root certificate and sign and intermediate.")
flag.BoolVar(&c.RootOnly,"root-only",false,"Slot only the root certificate and sign and intermediate.")
flag.StringVar(&c.RootSlot,"root-slot","9a","Slot to store the root certificate.")
flag.StringVar(&c.RootSlot,"root-slot","9a","Slot to store the root certificate.")
flag.StringVar(&c.CrtSlot,"crt-slot","9c","Slot to store the intermediate certificate.")
flag.StringVar(&c.CrtSlot,"crt-slot","9c","Slot to store the intermediate certificate.")