identity

package
v0.12.1 Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID_HOSTNAME   = hostpath.ID_HOSTNAME
	ID_SCHEMA     = hostpath.ID_SCHEME
	ID_PORT       = hostpath.ID_PORT
	ID_PATHPREFIX = hostpath.ID_PATHPREFIX
	ID_MOUNTPATH  = "mountPath"
	ID_NAMESPACE  = "namespace"
)

identity properties.

View Source
const (
	ATTR_AUTHMETH = "authmeth"
	ATTR_TOKEN    = cpi.ATTR_TOKEN
	ATTR_ROLEID   = "roleid"
	ATTR_SECRETID = "secretid"
)

credential properties.

View Source
const (
	AUTH_APPROLE = "approle"
	AUTH_TOKEN   = "token"
)
View Source
const CONSUMER_TYPE = "HashiCorpVault"

Variables

This section is empty.

Functions

func GetConsumerId

func GetConsumerId(serverurl string, namespace string, mountpath string, secretpath string) (cpi.ConsumerIdentity, error)

func GetCredentials

func GetCredentials(ctx cpi.ContextProvider, serverurl, namespace string, mountpath, secretpath string) (cpi.Credentials, error)

func IdentityMatcher

func IdentityMatcher(request, cur, id cpi.ConsumerIdentity) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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