ca

package
v0.0.0-...-6c3e3ad Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2020 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Build

func Build() error

Build Builds the certificate authority

func Clean

func Clean() error

Clean Cleans the output files for sshrimp-ca

func Config

func Config() error

Config Generate a sshrimp configuration file if it doesn't exsit

func Generate

func Generate() error

Generate Generates a CloudFormation template used to deploy the certificate authority

func Keys

func Keys() error

Keys Get the public keys of all configured KMS keys in OpenSSH format

func Package

func Package() error

Package Packages the certificate authority files into a zip archive

Types

type Module

type Module struct {
	Source    string            `json:"source"`
	Providers map[string]string `json:"providers"`
}

Module describes a terraform module

type Provider

type Provider struct {
	Version           string   `json:"version"`
	Alias             string   `json:"alias"`
	Region            string   `json:"region"`
	AllowedAccountIDs []string `json:"allowed_account_ids"`
}

Provider describes an AWS provider

type TerraformOutput

type TerraformOutput struct {
	Provider map[string][]Provider `json:"provider"`
	Module   map[string]Module     `json:"module"`
}

TerraformOutput represents the main.tf.json struct

Jump to

Keyboard shortcuts

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