userpassword

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: May 16, 2022 License: MPL-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package userpassword provides access to the username and password stored in a Vault secret.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Extract

func Extract(d data, usernameAttr, passwordAttr string) (string, string)

Extract attempts to extract the values of the username and password stored within the provided data using the given attribute names.

Extract does not return partial results, i.e. if one of the attributes were extracted but not the other ("", "") will be returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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