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

Add storeCredential and getCredential key value store, store secrets in db #241

Closed
lalalune opened this issue Nov 9, 2024 · 0 comments
Closed
Assignees
Labels
enhancement New feature or request

Comments

@lalalune
Copy link
Member

lalalune commented Nov 9, 2024

Right now we're storing twitter credentials and other credentials in character file, as well as in tweet cache for twitter login cookies, and other places.

Instead, we should store secrets and credentials per character

We can add these to the memory manager and database adapters to keep the DB unified

So there are a few different parts to this:

  1. Add credential key value store to MemoryManager, keyed by agentId
  2. Store and retrieve Twitter cookies from this
  3. Add script to store and retrieve secrets by agentId / agentName
  4. Add checking to get secrets as priority and fall back to character file secrets

This will enable us to store/recall secrets later in a platform, and keep secrets internal to our database without having to put them in characters.

@lalalune lalalune added the enhancement New feature or request label Nov 9, 2024
@alextitonis alextitonis self-assigned this Nov 10, 2024
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

2 participants