Skip to content

Research alternative secure and user-friendly API key management approaches #155

@petertzy

Description

@petertzy

Description:

Currently, provider API keys are stored in the system keychain. This approach provides strong security, but it often requires entering the administrator password to maintain access, which affects usability.

We would like to explore alternative solutions that strike a better balance between security and convenience.

For example, in OpenClaw, API keys are stored in a JSON file on Linux systems. However, based on feedback from Chatty, this approach is considered insecure, so it has not been adopted.

Task:

  • Research how established companies or widely-used tools manage API keys and secrets.

  • Evaluate approaches in terms of:

    • Security
    • Ease of use
    • Cross-platform compatibility
  • Consider alternatives such as:

    • Encrypted local storage
    • OS-native credential managers
    • Environment variables
    • Secret management services

Please document your findings in the comments of this issue.

If a suitable solution is identified, a follow-up implementation task will be created for contributors.

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions