-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Description
Hi there, it would be great to have a new method to retrieve a list of user names under a service name (not the secret values themselves).
My use case is that I am using this library in a CLI tool that manages various tokens. For example, the service name is my-cli and it manages various 3rd party tokens for API calls, so the user names are the third party service (github for example).
It would be convenient to allow the user to know which secrets the tool is managing/using, instead of them needing to go and check their keychain.
The interface I think would look like this
type Keyring interface {
// List of user names for this service
List(service string) ([]string, error)
}zhangt58zhangt58
Metadata
Metadata
Assignees
Labels
No labels