types

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FetchedSecret

type FetchedSecret interface {
	Value() interface{}
	Version() interface{}
	Format() int
	IsMissingData() bool

	UploadNew(value interface{}) (interface{}, error)
}

FetchedSecret represents a secret that has been fetched from its remote repository

type RootAuth

type RootAuth struct {
	Vault *map[string]VaultAuth `json:"vault"`
}

RootAuth holds auth configurations for every secrets engine

type VaultAuth

type VaultAuth struct {
	Userpass *VaultAuthUserpass `json:"userpass,omitempty"`
	AppRole  *VaultAuthAppRole  `json:"appRole,omitempty"`
	OIDC     *VaultAuthOIDC     `json:"oidc,omitempty"`
	Token    *string            `json:"token,omitempty"`
}

VaultAuth holds any valid, implemented Vault authentication method

type VaultAuthAppRole

type VaultAuthAppRole struct {
	RoleID   string `json:"roleID"`
	SecretID string `json:"secretID"`
}

VaultAuthAppRole holds a role ID and secret ID for authrole authentication

type VaultAuthOIDC added in v1.1.1

type VaultAuthOIDC struct {
	Mount string `json:"mount"`
}

VaultAuthOIDC holds a mount path for OIDC auth

type VaultAuthUserpass

type VaultAuthUserpass struct {
	Username string `json:"username"`
	Password string `json:"password"`
}

VaultAuthUserpass holds a username and password for userpass authentication

Jump to

Keyboard shortcuts

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