https://github.com/dmberezovskyii/secure-test-automation
Cipher is a Python library for encrypting and decrypting passwords, designed for integration with automated testing frameworks such as Selenium, Appium, Playwright, and others. It ensures secure password storage and allows retrieving keys from remote vaults to decrypt configuration files.
https://github.com/dmberezovskyii/secure-test-automation
appium automated-testing aws-kms crypto cryptography decryption encryption playwright python3 secure-storage selenium selenium-sercrets vault
Last synced: 4 months ago
JSON representation
Cipher is a Python library for encrypting and decrypting passwords, designed for integration with automated testing frameworks such as Selenium, Appium, Playwright, and others. It ensures secure password storage and allows retrieving keys from remote vaults to decrypt configuration files.
- Host: GitHub
- URL: https://github.com/dmberezovskyii/secure-test-automation
- Owner: dmberezovskyii
- License: mit
- Created: 2025-01-05T18:35:41.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-18T12:35:05.000Z (about 1 year ago)
- Last Synced: 2025-09-24T03:56:23.113Z (9 months ago)
- Topics: appium, automated-testing, aws-kms, crypto, cryptography, decryption, encryption, playwright, python3, secure-storage, selenium, selenium-sercrets, vault
- Language: Python
- Homepage:
- Size: 53.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# About
`secure-test-autmation` Python library for encrypting and decrypting passwords, designed for integration with automated testing frameworks such as Selenium, Appium, Playwright, and others. It ensures secure password storage and allows retrieving keys from remote or local vaults to decrypt configuration files and passwords.
## Features
- **Encryption and Decryption**: Encrypt and decrypt passwords using a Fernet key.
- **Key Management**: Support for loading, creating, saving, and deleting encryption keys from a local file and remove vault
- **Password Generation**: Generate secure, random passwords of a specified length.
- **Multiple Vault Types**:
- Currently: local and and [HashiCorp Vault](https://portal.cloud.hashicorp.com/sign-in)
## Documentation
You can find the full documentation for Secure Test Automation here:
[Secure Test Automation Documentation](https://secure-test-automation.readthedocs.io/en/latest/index.html)
## Requirements
- Python 3.10 +
- `cryptography` library for encryption/decryption functionality.
Install the required dependencies:
### Local Usage
1. Clone this repository:
```bash
git clone https://github.com/dmberezovskyii/secure-test-automation
```
2. Install required dependencies:
```bash
pip install poetry
poetry shell
poetry env info
copy `Executable: path to virtual env` -> Add Interpreter -> Poetry Environment -> Existing environment -> add Executable -> Apply
poetry install
```
### Install Library
```bash
pip install secure-test-automation
```
### TODO add documentation usage