{"modulePath":"github.com/brevdev/brev-cli","version":"v0.6.337","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package mintcert\n\nPackage mintcert implements the \\`brev mint-cert\\` command, which mints a short-lived SSH certificate for an environment and writes it (with its backing ephemeral keypair) to disk. It is invoked by the ssh config's Match exec hook, generated by \\`brev refresh\\`.\n\n## Functions\n\n```go\nfunc NewCmdMintCert(store Store) *cobra.Command\n```\n\n## Types\n\n```go\ntype CertIssuer interface {\n\tIssue(ctx context.Context, req certIssueRequest) (string, error)\n\tIssueNode(ctx context.Context, req nodeCertIssueRequest) (string, error)\n}\n```\n\n```go\ntype Store interface {\n\tGetAccessToken() (string, error)\n}\n```\n\n","path":"github.com/brevdev/brev-cli/pkg/cmd/mintcert","name":"mintcert","synopsis":"Package mintcert implements the `brev mint-cert` command, which mints a short-lived SSH certificate for an environment and writes it (with its backing ephemeral keypair) to disk.","isRedistributable":true}
