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 ¶
SecretExists is a boolean function to verify a secret is present in keychain
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.