mirror of
https://github.com/coder/coder.git
synced 2026-06-02 20:48:20 +00:00
5e85663ce3
Add support for storing the CLI session token in the OS keyring on macOS when the --use-keyring flag is provided. https://github.com/coder/coder/issues/19403 https://www.notion.so/coderhq/CLI-Session-Token-in-OS-Keyring-293d579be592808b8b7fd235304e50d5
18 lines
355 B
Go
18 lines
355 B
Go
//go:build !windows && !darwin
|
|
|
|
package sessionstore
|
|
|
|
type operatingSystemKeyring struct{}
|
|
|
|
func (operatingSystemKeyring) Set(_, _ string) error {
|
|
return ErrNotImplemented
|
|
}
|
|
|
|
func (operatingSystemKeyring) Get(_ string) ([]byte, error) {
|
|
return nil, ErrNotImplemented
|
|
}
|
|
|
|
func (operatingSystemKeyring) Delete(_ string) error {
|
|
return ErrNotImplemented
|
|
}
|