A module for managing API authentication using 1Password and more.
Project description
API Authorization and Credentials Manager
Centralized repository for managing API authorizations and credentials across multiple projects.
Purpose
This repository is designed to store and manage all the API credentials and authorization methods used in various projects. By keeping credentials in one place, we can easily access and reuse them across different services and avoid duplication of sensitive information.
Features
- Manage multiple API authorizations in a single repository.
- Store credentials in a secure environment with the use of environment variables.
- Supports a wide variety of APIs including Spotify, Google, and more.
- Designed to be scalable and modular for adding new API integrations.
Structure
config/: Contains configuration files for each API.credentials/: Stores encrypted credentials for secure access.scripts/: Useful scripts for initializing authorization tokens and managing API sessions.
Usage
-
Clone the repository:
git clone https://github.com/yourusername/api-authorization-manager.git
-
Set up environment variables:
export CREDENTIALS_PATH=/path/to/your/credentials
-
Run authorization script for specific API:
python scripts/authorize_api.py --api spotify
Security
Ensure that all sensitive information such as API keys and OAuth tokens are stored securely and never hardcoded in scripts. Use environment variables or secure vaults to manage access.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file oauthmanager-0.1.0.tar.gz.
File metadata
- Download URL: oauthmanager-0.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
133c01f5953a5a0af0ff227c5794f104001c7a1e8a84c922e7d3bdf52edd3514
|
|
| MD5 |
370a6022bf283640cc78096b62fb7f5a
|
|
| BLAKE2b-256 |
fd062a3e459a64aef8df7acd2ef35ca96b232dc1b785ccc11937c3a0954f11bd
|
File details
Details for the file oauthmanager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: oauthmanager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.2 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f4ee33789a888b4a46435dc9b620ea3553a570fe19bc8a104a8a9e28c71663a
|
|
| MD5 |
aa1261f936a5e0dad0d24205fe74d232
|
|
| BLAKE2b-256 |
c371488298ad525296c498de4ad30cf35b009897919004f45840cbd9d7d00998
|