api

package
v0.0.0-...-1305305 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var LOGGER = logging.MustGetLogger("vault")

Functions

func AddAccount

func AddAccount(session utils.Session, safeName string, accountName string, password string, groupName string) error

func AddApplication

func AddApplication(session utils.Session, appId string)

func AddAuthentication

func AddAuthentication(session utils.Session, appId string)

func AddSafe

func AddSafe(session utils.Session, safeName string)

func AddSafeMember

func AddSafeMember(session utils.Session, safeName string, username string)

func GetAccount

func GetAccount(session utils.Session, safeName string, keyword string) (string, error)

func GetAccountGroup

func GetAccountGroup(session utils.Session, safeName string)

func GetPasswordValue

func GetPasswordValue(session utils.Session, safeName string, keyword string) (string, error)

func GetPasswordWithAim

func GetPasswordWithAim(session utils.Session, safeName string, objectName string) (string, error)

func ListAuthentication

func ListAuthentication(session utils.Session, appId string)

func ListSafeMember

func ListSafeMember(session utils.Session, safeName string)

func ListSafes

func ListSafes(session utils.Session)

func RandomCredential

func RandomCredential(session utils.Session, accountId string)

func SetCredential

func SetCredential(session utils.Session, safeName string, accountName string, newCredential string) error

func StoreSecret

func StoreSecret(session utils.Session, safeName string, objectName string, filePath string) error

func UpdateSafe

func UpdateSafe(session utils.Session, safeName string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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