sidekick_vault 1.0.0
sidekick_vault: ^1.0.0 copied to clipboard
Reads project secrets stored encrypted on the local filesystem
Changelog #
1.0.0 (2023-5-30) #
- Make sidekick_vault Dart 3 compatible
0.9.1 (2023-5-11) #
- Add topics to
pubspec.yaml - Update readme #218 https://github.com/phntmxyz/sidekick/commit/eb644414f6a7f3efb760b7ad06b3c55abd94d819
- Update
sidekick_coredependency to1.0.0
0.8.0 (2023-1-22) #
- Ask for vault path during install #200 https://github.com/phntmxyz/sidekick/commit/45f0ccca62b81dbb80ebf9d334c5d4a96565ffc4
- Update sidekick_plugin_installer #193 https://github.com/phntmxyz/sidekick/commit/8ab0c02882210dce07160816bedd9b507e5e1a03
0.7.0 #
- Fix folder creation bug during install (missing
await) #110 - Improve error message when vault file doesn't exist #102
- Pub points: Add example / better repo link on pub / constrain
dcli#106
0.6.0 #
- Added plugin installer. You can now install the sidekick_vault plugin with
<cli> sidekick plugin install sidekick_vault
0.5.4 #
- Updates dependency
actions_toolkit_dartto^0.5.0 vault encryptnow overwrites existing files
0.5.3 #
- Updates dependency
actions_toolkit_dartto^0.4.1 - Add
vault.deleteFile(File)
0.5.2 #
- Makes
maskSecretpublic to hide secrets in the github actions log
0.5.1 #
- Secrets read via
vault.loadText()will be hidden on GitHub Actions.
0.5.0 #
- Add
<cli-name> vault change-passwordcommand to change the vault password
0.4.0 #
-
Throw on CI when no passphrase is provided via stdin
-
Adds
VaultCommand, allowing adding and reading secrets via a sidekick cli// Add command to your CLI ..addCommand(VaultCommand(vault: vault))Add file to vault #
<cli-name> vault encrypt path/to/secret.csv<cli-name> vault encrypt --passpharse="****" --vault-location="secret.txt.gpg" path/to/secret.txtThe
passpharseis optional. It will be retrieved from the environment variables or asked viastdin.The file will be saved at
vault-location(optional) inside the vault directory. The filename (secret.txt) will be used as fallback.Decrypt file in vault #
<cli-name> vault encrypt secret.csv.gpg<cli-name> vault decrypt --passpharse="****" --output="write/to/decrypted.txt" secret.txt.gpg';The
passpharseis optional. It will be retrieved from the environment variables or asked viastdin.outputis optional. The decrypted file will be saved in the vault next to the encrypted one (without.gpgending).
0.3.0 #
- Requires Dart 2.14
- New
EncryptedVaultStringdefines a value invaultbefore accessing it. Usetextto access the content and prompt for the password - Use the
Vault.encryptedString(String fileName)extension to create aEncryptedVaultString
0.2.0 #
- Document and add example
0.1.0 #
- First release