Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/pomdtr/vscode-secrets


https://github.com/pomdtr/vscode-secrets

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# Secrets

Define secrets shared accross workspaces, injected as environment variables. Supports both local and remote workspaces.

## Usage

Use the secrets tree view to create/edit/view/delete your secrets/folders.

![demo](media/demo.gif)

## Folders

All secrets belong to a folder. Folders allow you scope a set of secrets to specific workspaces.

Use the `secrets.enabledFolders` setting to specify which folders to enable specific folders in you current workspace (if you do not set it, only secrets from the `default` folder will be loaded). \
Alternatively, you can use the `enable/disable` context buttons on the folder items in the secret explorer view.

```jsonc
{
// Both the default and github folders will be loaded in this workspace
"secrets.enabledFolders": [
"default",
"github"// If one secret is defined in multiple folders, the secret from the last folder in the array will be used.
]
}
```

## How does it work ?

You secrets are stored in the system keychain. Once you start vscode, the secrets are loaded from the keychain, and then injected as environment variables.

The secrets will not be synchronised between devices. You can migrate your secrets use the `Import Secrets` and `Export Secrets` commands.