fxacli

Create and destroy test accounts for Firefox Accounts


Keywords
fxa, firefox, accounts, mozilla
License
MPL-2.0
Install
pip install fxacli==1.1.0

Documentation

FxACLI

A simple command line tool for creating and disposing of test accounts for Firefox Accounts.

License PyPI Travis Issues Updates Python 3

Installation

$ pip install fxacli

Target environment

By default all accounts will be created on the stage environment. You can use the --env command line option to target production or stable.

Creating a verified test account

$ fxacli create
Account created!
 - 🌐  https://api-accounts.stage.mozaws.net/v1
 - 📧  test-72a888a3f6@restmail.net
 - 🔑  IvOhSLzI
Account verified! 🎉

Destroying test accounts

The most recently created account can be destroyed by simply running:

$ fxacli destroy
Account destroyed! 💥
 - 🌐  https://api-accounts.stage.mozaws.net/v1
 - 📧  test-72a888a3f6@restmail.net
 - 🔑  IvOhSLzI

To destroy all accounts created using the tool, pass the --all flag.

To destroy a specific account, or one not created using this tool, you must specify --email and --password options.

Resources