dynamic-kubernetes-secret-editor
Dynamic Kubernetes Secret Editor is a web-based tool designed to simplify the management of Kubernetes secrets. It allows you to upload, decode, edit, and download Kubernetes secrets in YAML format with ease.
🔐 Dynamic Kubernetes Secret Editor
🚀 Dynamic Kubernetes Secret Editor is a modern web-based tool designed to simplify the management of Kubernetes secrets. It allows you to upload, decode, edit, and download Kubernetes secrets in YAML format with ease. This tool is perfect for developers and DevOps engineers who frequently work with Kubernetes secrets.
🌐 Live Demo
Check out the live demo here: Dynamic Kubernetes Secret Editor
✨ Features
- 📁 Dual Input Methods - Upload YAML files OR paste YAML content directly
- 🔓 Base64 Decoding - Automatically decode Base64-encoded secret values for easy editing
- 👀 Real-time YAML Preview - View the updated YAML with beautiful syntax highlighting
- 💾 Smart File Downloads - Save modified secrets with intelligent naming (includes timestamp)
- 🎨 Modern UI/UX - Beautiful gradient design with Tabler Icons and Orbitron fonts
- 🌙 Theme Toggle - Switch between light and dark modes with smooth transitions
- 💾 Persistent State - Automatically saves your work in localStorage for later use
- 🔔 Toast Notifications - Beautiful notifications with progress bars and icons
- ⌨️ Keyboard Shortcuts - Ctrl+Enter to process, Ctrl+Shift+C to clear, Tab for indentation
- ⏳ Loading States - Visual feedback during all operations
- 🧹 Data Management - Clear stored data with confirmation dialogs
- ✅ Enhanced Validation - Comprehensive validation for Kubernetes Secret format
- 🔒 Security Focused - All processing happens locally in the browser
- 📱 Responsive Design - Works seamlessly on desktop and mobile devices
- 🔧 Progressive Enhancement - Fallback support for older browsers
🛠️ Technologies Used
- Frontend: HTML5, CSS3 (Bulma framework, custom styles), JavaScript ES6+
- Libraries:
- 📝 js-yaml for YAML parsing and stringifying
- 🎨 Highlight.js for syntax highlighting
- 🎯 Tabler Icons for modern iconography
- 🖼️ Google Fonts (Orbitron & Inter) for typography
- Framework: 💻 Bulma CSS for responsive design
- Hosting: 🐙 GitHub Pages
📦 Installation
To run the project locally, follow these steps:
Clone the repository:
git clone https://github.com/cagatayuresin/dynamic-kubernetes-secret-editor.gitNavigate to the project directory:
cd dynamic-kubernetes-secret-editorOpen
index.htmlin your browser to use the tool.
🖥️ Usage
Method 1: File Upload 📤
- Upload a YAML File: Click the "Upload YAML File" button and select a Kubernetes secret YAML file.
Method 2: Paste Content 📋
Paste YAML Content: Copy your Kubernetes secret YAML and paste it into the text area.
Use Shortcuts:
Ctrl+Enterto process the YAMLCtrl+Shift+Cto clear the contentTabfor proper YAML indentation
Common Steps 🔄
- Edit Decoded Fields: Modify the decoded Base64 values directly in the input fields.
- Preview Changes: View the updated YAML in the preview section with syntax highlighting.
- Download the Updated YAML: Click the "Download" button to save the modified YAML file.
Quick Test 🧪
Use the included test-secret.yaml file to quickly test the application features.
🛡️ License
This project is licensed under the MIT License. Feel free to use, modify, and distribute it as per the license terms.
🤝 Contributing
Contributions are welcome! If you have ideas for improvements or find any bugs, feel free to open an issue or submit a pull request.
Fork the repository 🍴
Create a new branch:
git checkout -b feature/your-feature-nameCommit your changes:
git commit -m "Add your feature description"Push to the branch:
git push origin feature/your-feature-nameOpen a pull request 🎉
🌐 Connect with Me
- GitHub: cagatayuresin 🐙
- LinkedIn: Cagatay URESIN 💼
- Email: cagatayuresin@gmail.com 📧
🙏 Acknowledgements
- Thanks to the developers of js-yaml and Highlight.js for their amazing libraries 🙌
- Inspired by the need for a simple and intuitive Kubernetes secret management tool 💡
- Special thanks to the open-source community for continuous inspiration 🌟
📝 Notes
- This project is hosted on GitHub Pages 🌍
- To deploy updates, simply push changes to the
mainbranch 🚀 - All data processing happens locally - no data is sent to external servers 🔒
- Compatible with all modern browsers and mobile devices 📱
🎯 Version History
See CHANGELOG.md for detailed version history and updates.
🔒 Security
For security guidelines and best practices, see SECURITY.md.
Enjoy using the Dynamic Kubernetes Secret Editor! 🎊✨
cagatayuresin