vault

package
v1.47.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package vault refreshes auth tokens

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureLoggedIn

func EnsureLoggedIn(ctx context.Context, log logrus.FieldLogger, b *box.Config, k kubernetes.Interface) error

EnsureLoggedIn ensures that we are authenticated with Vault and have a valid token

func NewClient

func NewClient(ctx context.Context, b *box.Config) (*vault.Client, error)

NewClient creates a new vault client

Types

This section is empty.

Jump to

Keyboard shortcuts

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