vault

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package vault provides the ability for Vela to integrate with HashiCorp Vault as a secret backend.

Usage:

import "github.com/go-vela/server/secret/vault"

Index

Constants

View Source
const PrefixVaultV1 = "secret"
View Source
const PrefixVaultV2 = "secret/data"

Variables

This section is empty.

Functions

func New

func New(config Config) (*client, error)

New returns a Secret implementation that integrates with a Vault secrets engine.

nolint: golint // ignore returning unexported client

Types

type Config added in v0.7.0

type Config struct {
	Address    string
	Token      string
	Version    string
	Prefix     string
	AuthMethod string
	AwsRole    string
	Renewal    time.Duration
}

Jump to

Keyboard shortcuts

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