Expand description
§Keyflux
keyflux
is a CLI tool and library for synchronizing environment secrets across multiple platforms including local files, GitHub Secrets, Supabase Vault, and Vercel Secrets. It facilitates secure management and automation of sensitive data.
§Features
- Multi-platform support: Sync secrets between local files, GitHub, Supabase, and Vercel.
- Secure management: Automate and manage sensitive data securely.
- Customizable configuration: Flexible configuration options through various file formats.
- CLI and library: Use as a standalone CLI tool or integrate into your Rust project as a library.
- Real-time synchronization: Watch for changes and automatically sync secrets.
§Modules
config
: Contains configuration structures and functions.manager
: Manages secret synchronization.error
: Defines error types used throughout the crate.action
: Contains actions for the CLI.cli
: Handles command-line interface parsing and arguments.core
: Core functionality of the crate.utils
: Utility functions used by various modules.
§Usage
Add keyflux
to your Cargo.toml
:
[dependencies]
keyflux = "0.1.1"
Re-exports§
pub use crate::key_manager::KeyManager;
pub use crate::error::ConfigError;
Modules§
- api
- cli
- command
- config
- core
- error
- Error module
- file
- flux
- Module for Vercel-related functionality and implementations.
- flux_
registry - http
- key
- key_
manager - macros
- test_
utils - traits
- utils
Macros§
- flux
- A macro to register all flux types with the global flux registry.
- register_
fluxes
Enums§
Constants§
Functions§
- _rust_
i18n_ translate - Get I18n text by locale and key
- available_
locales - Return all available locales, for example:
&["en", "zh-CN"]
- translate