ca

package
v0.0.0-...-8f8eb11 Latest Latest
Warning

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

Go to latest
Published: May 24, 2022 License: BlueOak-1.0.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DebugEnabled = false

DebugEnabled toggles debug logging

Functions

This section is empty.

Types

type CertificateAuthority

type CertificateAuthority struct {
	// contains filtered or unexported fields
}

CertificateAuthority for GCP Projects

func Create

func Create(configFile string, keyfile string, signInternalIPs bool, signExternalIPs bool, parallelism int, simulate bool, daysValid int) *CertificateAuthority

Create a new CA Signer

func (*CertificateAuthority) SignKeys

func (ca *CertificateAuthority) SignKeys()

SignKeys for any GCE instances in a whitelisted project or folder that have published an SSH pubkey through their Guest Attributes

type Config

type Config struct {
	Projects []string `yaml:"Projects"`
	Folders  []string `yaml:"Folders"`
}

Config identifies the targets we're going to look for signing requests in

Jump to

Keyboard shortcuts

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