Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "scion-pki", Short: "Scion Public Key Infrastructure Management Tool", Long: `scion-pki is a tool to generate keys, certificates, and trust root configuration files used in the SCION control plane PKI. The subcommands expect the contents of the root directory to follow a rigid and predefined file structure: <root> ├── ISD1 │ ├── ASff00_0_c │ │ ├── as-v1.toml # AS certificate configuration (versioned) │ │ ├── certs # Dir containing issuer certificates and certificate chains │ │ ├── issuer-v1.toml # Issuer certificate configuration (versioned) │ │ ├── keys # Dir containing private keys │ │ ├── keys.toml # Keys configuration file │ │ └── pub # Dir containing public keys │ ├── trcs # Dir containing partial and signed TRCs │ │ └── ISD1-V1.parts # Dir containing partially signed TRC for specific version │ └── trc-v1.toml # TRC configuration (versioned) A sample file structure can be generated in 'DIR' by running: scion-pki tmpl sample > $DIR/sample.topo scion-pki tmpl topo -d $DIR sample.topo The 'certs', 'keys', 'trcs' directories are created on demand by the tool. `, PersistentPreRun: func(cmd *cobra.Command, args []string) { if pkicmn.OutDir == "" { pkicmn.OutDir = pkicmn.RootDir } }, SilenceErrors: true, }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.