Skip to main content

A tool to manage AWS Secrets Manager secrets from the command line edited in vim

Project description

AWS Secrets Manager Utility

PyPI version License Python

A streamlined utility for managing secrets in a Simpler way on AWS Secrets Manager with hierarchical organization without opening multiple aws management console tabs. This tool simplifies secret management by grouping them based on service and environment, creating a clear and maintainable structure.

✨ Features

  • 🔐 Hierarchical secret organization (/<environment>/<service>/<secret>)
  • 🌐 Environment-based segregation
  • 📝 Interactive secret editing using familiar VIM interface
  • 🏗️ Service-based grouping for better organization

📋 Prerequisites

  • Python 3.9 or higher
  • AWS credentials configured (~/.aws/credentials or environment variables)
  • AWS IAM permissions for Secrets Manager operations

🚀 Installation

Option 1: Using pip (Recommended)

pip install secrets-manager-aws

Option 2: Using poetry

poetry add secrets-manager-aws

🎯 Usage

The utility provides a simple and intuitive command-line interface for managing your AWS Secrets.

Command Line Options

asm --help                          # Show help and available commands
asm -e ENV -s SERVICE              # Create/edit/view secrets for a service in an environment

Examples

  1. Creating / Managing Secrets
    # Create secrets for authentication service in production
    asm -e production -s auth-service
    
    # Create secrets for payment service credentials in development
    asm -e development -s payment-service
    

🌉 Roadmap

  • Implement support for aws parameter store integration
  • Add support for search and filtering secrets
  • Add support for cross-env secret copying
  • Add Github Actions for CI/CD
  • More to follow...

🤝 Feature Requests

If you have a feature request, please open an issue to discuss it. We welcome all ideas and contributions!

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.

Contributing Guidelines

  1. Fork the repository and create your branch from master
  2. Write clear commit messages
  3. Update documentation as needed
  4. Add tests for new features
  5. Make sure all tests pass
  6. Submit a pull request

📜 License

This project is licensed under the MIT License - see the LICENSE file for details.

🔗 Links & Resources

🙋‍♂️ Support & Community

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

secrets_manager_aws-0.2.0.tar.gz (5.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

secrets_manager_aws-0.2.0-py3-none-any.whl (6.7 kB view details)

Uploaded Python 3

File details

Details for the file secrets_manager_aws-0.2.0.tar.gz.

File metadata

  • Download URL: secrets_manager_aws-0.2.0.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.11.4 Darwin/23.6.0

File hashes

Hashes for secrets_manager_aws-0.2.0.tar.gz
Algorithm Hash digest
SHA256 422457fd11ed5564686256cefdcb2513c9a5c4a0ab3a946ab444f8238fa50b4c
MD5 d0c5852d8f38040a4ae3b155242acdda
BLAKE2b-256 fc8136727b9135d00f5dabeacb6bd4c50c576eb6e521dcdb7c1c9ef89d186c1a

See more details on using hashes here.

File details

Details for the file secrets_manager_aws-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for secrets_manager_aws-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 19118541b9ff352648510f7a4d4377526463c975e3e5d9cc3caa2033c106023a
MD5 a5a137cb2665529d662e1aa7d6cdf993
BLAKE2b-256 7c73509abc6e410f5e28b7e2f0b6a185e31155fdb5ba2f669711ef54de7a1e0b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page