secrets

package
v0.0.0-...-b7acd14 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsSecret

func IsSecret(s string) bool

Types

type Secret

type Secret struct {
	MapPath string
	Key     string
}

Secret models a Vault secret MapPath is root-relative path e.g. "/myteam/myproject/mysecretmap"

func New

func New(s string, team string) *Secret

New returns a Secret from a string in the "halfpipe" format "((map.key))" or "((/path/to/map key))"

Jump to

Keyboard shortcuts

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