csr

package
v1.2.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CsrCmd = &cobra.Command{
	Use:   "csr",
	Short: "Generate and manage Certificate Signing Request (CSR) operations",
	RunE: func(cmd *cobra.Command, args []string) error {
		err := cmd.Help()
		if err != nil {
			return err
		}
		return errors.New("a subcommand is required. Use 'alpacon csr create', 'alpacon csr list', 'alpacon csr approve', 'alpacon csr deny', 'alpacon csr retry', 'alpacon csr delete', 'alpacon csr describe', or 'alpacon csr download-crt'. Run 'alpacon csr --help' for more information")
	},
}

Functions

func EnsureSecureConnection

func EnsureSecureConnection(client *client.AlpaconClient)

EnsureSecureConnection checks if the server uses HTTPS and prompts the user to confirm proceeding with an insecure connection if necessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL