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

Secrets Manager #7

Open
FossPrime opened this issue Jun 8, 2023 · 0 comments
Open

Secrets Manager #7

FossPrime opened this issue Jun 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@FossPrime
Copy link
Collaborator

FossPrime commented Jun 8, 2023

This is a proposal how to get secrets working

  1. In localStorage keep a JSON document with the following:
- '^github.com/kat-tax/.*':
  - OPENAI_KEY: '...'
  - TWILIO_KEY: '...'
- '^gitlab.com/':
  - SERVICE_ACCOUNT: ''
- 'nsa.com/area-51-crm.git'
  - $match: 'exatct'
  - ALIEN_OS_KEY: '...'
  1. Allow users to edit it via a vslite.secrets.yaml virtual file in the root directory. The file could actually be in /tmp/.
  2. Automatically load it from localStorage on boot.

default to exact match for performance. Web containers have zero access to master local storage by default... So this is safe ceteris paribus.

Settings Sync could be accomplished with a browser extension (100KB):

Things left to consider

  • There should be a way for git to request a token and have the user grant access per cloned repo... as any cloned repo could commandeer the token.
@TheUltDev TheUltDev changed the title [FR] Local secrets manager Local secrets manager Jun 9, 2023
@TheUltDev TheUltDev added the enhancement New feature or request label Jun 9, 2023
@TheUltDev TheUltDev changed the title Local secrets manager Secrets manager Jun 10, 2023
@TheUltDev TheUltDev changed the title Secrets manager Secrets Manager Jun 10, 2023
@FossPrime FossPrime mentioned this issue Jun 16, 2023
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