Skip to main content

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

  1. Clone the repository:

    git clone https://github.com/yourusername/api-authorization-manager.git
    
  2. Set up environment variables:

    export CREDENTIALS_PATH=/path/to/your/credentials
    
  3. 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


Download files

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

Source Distribution

oauthmanager-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

oauthmanager-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

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

Hashes for oauthmanager-0.1.0.tar.gz
Algorithm Hash digest
SHA256 133c01f5953a5a0af0ff227c5794f104001c7a1e8a84c922e7d3bdf52edd3514
MD5 370a6022bf283640cc78096b62fb7f5a
BLAKE2b-256 fd062a3e459a64aef8df7acd2ef35ca96b232dc1b785ccc11937c3a0954f11bd

See more details on using hashes here.

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

Hashes for oauthmanager-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4f4ee33789a888b4a46435dc9b620ea3553a570fe19bc8a104a8a9e28c71663a
MD5 aa1261f936a5e0dad0d24205fe74d232
BLAKE2b-256 c371488298ad525296c498de4ad30cf35b009897919004f45840cbd9d7d00998

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