Release Notes
Added
- Profile-level default configuration:
profiles.<name>.defaultssection for shared settings across secrets in a profile - Default providers for profiles: define common providers once and have all secrets use them unless overridden
- Default values and required settings can now be specified at profile level to reduce repetition
as_pathoption for secrets: write secret values to temporary files and return the file path instead of the value. Temporary files are automatically cleaned up when the resolved secrets are dropped in Rust SDK usage. For CLI commands (getandcheck), temporary files are persisted and NOT deleted after the command exits. In the Rust SDK, fields withas_path = trueare generated asPathBuforOption<PathBuf>instead ofString
Changed
- Secret
requiredfield is nowOption<bool>to allow profile-level defaults to apply when not explicitly set - Secret
defaultfield can now inherit from profile-level defaults if not specified per-secret - Secret
providersfield can now inherit from profile-level defaults if not specified per-secret - Profile defaults only apply to secrets that don't explicitly set these fields
Install secretspec 0.4.0
Install prebuilt binaries via shell script
curl --proto '=https' --tlsv1.2 -LsSf https://github.com/cachix/secretspec/releases/download/v0.4.0/secretspec-installer.sh | shDownload secretspec 0.4.0
| File | Platform | Checksum |
|---|---|---|
| secretspec-aarch64-apple-darwin.tar.xz | Apple Silicon macOS | checksum |
| secretspec-x86_64-apple-darwin.tar.xz | Intel macOS | checksum |
| secretspec-x86_64-pc-windows-msvc.zip | x64 Windows | checksum |
| secretspec-aarch64-unknown-linux-gnu.tar.xz | ARM64 Linux | checksum |
| secretspec-x86_64-unknown-linux-gnu.tar.xz | x64 Linux | checksum |