credstore

package
v2.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package credstore enables a connection to CredHub

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CredStore

type CredStore interface {
	Put(key string, credentials any) (any, error)
	PutValue(key string, credentials any) (any, error)
	Get(key string) (any, error)
	GetValue(key string) (string, error)
	Delete(key string) error
	AddPermission(path string, actor string, ops []string) (*permissions.Permission, error)
	DeletePermission(path string) error
}

func NewCredhubStore

func NewCredhubStore(credStoreConfig *config.CredStoreConfig, logger lager.Logger) (CredStore, error)

Directories

Path Synopsis
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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