keychain

package
v1.0.2-dev Latest Latest
Warning

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

Go to latest
Published: May 1, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddSecret

func AddSecret(secretID string)

AddSecret is a non-return function that adds the secret and secret value to keychain.

func DeleteSecret

func DeleteSecret(secretID string)

DeleteSecret is a non-return function that removes the secret from keychain

func GetSecret

func GetSecret() string

GetSecret is a string function that securely gets the secret value from user

func ListSecrets

func ListSecrets() []string

ListSecrets is a string array function that returns all secrets in keychain with the label `summon`.

func SecretExists

func SecretExists(secretID string) bool

SecretExists is a boolean function to verify a secret is present in keychain

Types

This section is empty.

Jump to

Keyboard shortcuts

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