nebula

package module
v0.0.0-...-394d763 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 12 Imported by: 0

README

openbao-plugin-secrets-nebula[WIP]

Openbao Secrets Engine plugin for creating a Slack Nebula CA and node certificates. This is a work in progress.

How to use

# enable nebula plugin
bao secrets enable -path=nebula -plugin-name=bao-plugin-secrets-nebula plugin

# generate ca
bao write nebula/generate/ca name="ca-name" duration="8760h" ips="10.0.0.0/20"

# or import existing ca
# the file bundle.pem contains the private key followed by the ca-certificate
bao write nebula/config/ca pem_bundle=@bundle.pem

# get the ca from vault
bao read nebula/config/ca

# generate a host certificate
bao write nebula/sign/example.com \
    ip="10.0.0.1/32" \
    duration="100d"

# read a certificate
bao read nebula/cert/<fingerprint>

# list certificates
bao list nebula/certs

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backend

func Backend() (*backend, error)

func Factory

func Factory(ctx context.Context, conf *logical.BackendConfig) (logical.Backend, error)

Types

type RevocationDetails

type RevocationDetails struct {
	Fingerprint string    `json:"fingerprint"`
	RevokedAt   time.Time `json:"revokedAt"`
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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