password

package
v0.0.0-...-df79ff2 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2018 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Engine

type Engine struct {
	Length                int
	NumDigits             int
	NumSymbols            int
	DisableUppercase      bool
	AllowRepeatCharacters bool
}

Engine is a password secrets engine that can provision a randomly generated password.

func (*Engine) Provision

func (e *Engine) Provision(ctx context.Context, namespace, name string) ([]byte, map[string][]byte, error)

Provision provisions credentials using the engine configuration.

func (*Engine) Revoke

func (e *Engine) Revoke(ctx context.Context, revocation []byte) error

Revoke does nothing for this secrets engine.

Jump to

Keyboard shortcuts

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