Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow users to add custom secrets #6938

Open
malhotra5 opened this issue Feb 25, 2025 · 2 comments
Open

Allow users to add custom secrets #6938

malhotra5 opened this issue Feb 25, 2025 · 2 comments
Labels
enhancement New feature or request

Comments

@malhotra5
Copy link
Contributor

What problem or use case are you trying to solve?

Users may have custom secrets and api keys they want Openhands to access; we should have some way to allow users to specify these values through the UI and store it in their settings.

Describe the UX of the solution you'd like

Add a section to the settings modal. User could add new entries with secret name and value.

Do you have thoughts on the technical implementation?

  1. We should create a unified settings store for users

  2. We already export $GITHUB_TOKEN in the remote runtime when we see the agent attempting to use $GITHUB_TOKEN. We would do something similar for other user secrets.

Describe alternatives you've considered

Additional context
cc @tofarr who may be working on this

@malhotra5 malhotra5 added the enhancement New feature or request label Feb 25, 2025
@enyst
Copy link
Collaborator

enyst commented Feb 25, 2025

This is an interesting topic. They're SANDBOX_ENV_* variables, a subset which is the secret category among those.

@jaybutera
Copy link

There's agents for reading and writing files. Would it make sense to have one for getting/storing secrets to a central secrets file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants