bootstrap

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBootstrapCertWithIssue

func CreateBootstrapCertWithIssue(client *api.Client, pkiMount, pkiRole, pkiTTL, nodeName string) (key, cert, ca []byte, err error)

CreateBootstrapCertWithIssue issues a bootstrap certificate using Vault to issue the certificate and private key This removes control over group name, but is more secure

func CreateBootstrapCertWithSignVerbatim

func CreateBootstrapCertWithSignVerbatim(client *api.Client, pkiMount, pkiRole, pkiTTL, nodeName, group string) (key, cert, ca []byte, err error)

CreateBootstrapCertWithSignVerbatim issues a bootstrap certificate using Vault to sign a CSR verbatim. This gives control over the group name, but at the cost that the application technically has permission to issue any certificate.

Types

This section is empty.

Jump to

Keyboard shortcuts

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