SidekickVault class

Grants access to project secrets stored gpg encrypted in this repository

Available Extensions

Constructors

SidekickVault({required Directory location, required String environmentVariableName})

Properties

environmentVariableName String
env name of the environment variable containing the passphrase to this vault
final
hashCode int
The hash code for this object.
no setterinherited
location Directory
Location of the directory containing vault files
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

deleteFile(String filename) → void
Deletes the file with filename from the vault.
listEntries() List<File>
loadFile(String filename, {File? to}) File
Loads a file form the secure vault with filename to location to where it will be stored unencrypted. It is then returned.
loadText(String filename) String
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
saveFile(File file, {String? filename}) File
Saves the file in the vault.
toString() String
A string representation of this object.
inherited
unlock([String? passphrase]) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited