vault

package
v0.0.0-...-258337a Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Copyright (c) 2021 Cisco Systems, Inc and its affiliates All Rights reserved

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HelloWorldVault

type HelloWorldVault struct {
	Client *api.Client
	Config config.Vault
}

func NewVault

func NewVault(c *config.Config) (HelloWorldVault, error)

func (*HelloWorldVault) Connect

func (v *HelloWorldVault) Connect() error

func (*HelloWorldVault) GetSecret

func (v *HelloWorldVault) GetSecret(s string) (*api.Secret, error)

func (*HelloWorldVault) GetString

func (v *HelloWorldVault) GetString(secret string, key string, defaultValue string) (string, error)

Jump to

Keyboard shortcuts

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