Documentation
¶
Overview ¶
Package auth stores one API key per provider in ~/.kaku/auth.json so a user can log in once instead of exporting an environment variable each session. The file is written 0600 and keys leave it only through Get.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store is a credential store over a JSON file mapping provider name to key.
func (*Store) Delete ¶
Delete removes a provider's key. Removing an absent key is a no-op, not an error, so logout is idempotent.
Click to show internal directories.
Click to hide internal directories.