Skip to main content

Simple Cloudflare email alias management

Project description

pycfalias

Easy Cloudflare email alias management

Installation

  1. Install via python pip

    pip install pycfalias
    
  2. Configure either via configuration file or environment variables

    export CF_FORWARD_EMAIL=$your_forward_email
    export CF_TOKEN=$your_cloudflare_token
    export CF_ZONE_ID=$your_cloudflare_zone_id
    

    OR

    Create a file in your home directory called .pycfalias.toml (note the dot)

    "CF_FORWARD_EMAIL" = "$your_forward_email"
    "CF_TOKEN" = "$your_cloudflare_token"
    "CF_ZONE_ID" = "$your_cloudflare_zone_id"
    

(back to top)

Usage

List email aliases

pycfalias -l [--list]

Create an email alias

pycfalias -c [--create]

Remove existing email alias

pycfalias -r [--remove]

(back to top)

Acknowledgments

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

pycfalias-0.0.8.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

pycfalias-0.0.8-py3-none-any.whl (5.0 kB view hashes)

Uploaded Python 3

Supported by

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