UseKeyringWithGlobalConfig enables the use of the keyring storage backend when the --global-config directory is set. This is only intended as an override for tests, which require specifying the global config directory for test isolation.
()
| 911 | // when the --global-config directory is set. This is only intended as an override |
| 912 | // for tests, which require specifying the global config directory for test isolation. |
| 913 | func (r *RootCmd) UseKeyringWithGlobalConfig() { |
| 914 | r.useKeyringWithGlobalConfig = true |
| 915 | } |
| 916 | |
| 917 | type AgentAuth struct { |
| 918 | // Agent Client config |
no outgoing calls