Documentation ¶
Index ¶
- Constants
- func GetConsumerId(serverurl string, namespace string, mountpath string, secretpath string) (cpi.ConsumerIdentity, error)
- func GetCredentials(ctx cpi.ContextProvider, serverurl, namespace string, ...) (cpi.Credentials, error)
- func IdentityMatcher(request, cur, id cpi.ConsumerIdentity) bool
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 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.
Click to show internal directories.
Click to hide internal directories.