Skip to main content

Simple, secure, account and credential management

Project description

acct

Made with pop, a Python implementation of Plugin Oriented Programming Made with Python

Simple and secure account management

USAGE

Yaml files containing confidential information can be encrypted for use inside of acct base applications. This is an example of what an acct credentials file might look like.

credentials.yml

provider:
  profile_name:
    username: XXXXXXXXXXXX
    password: XXXXXXXXXXXX
    api_key: XXXXXXXXXXXXXXXXXXX

Next use the acct command to encrypt this file using the fernet algorithm:

$ acct encrypt credentials.yml
YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8=

The acct command can also be used to decrypt the encrypted file:

$ acct decrypt credentials.yml.fernet --output=yaml --acct-key="YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8="

The fernet plugin is the default for encryption, but other plugins may be added. To use the AES plugin change the previous commands to:

$ acct encrypt --crypto-plugin aesgcm256 credentials.yml
YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8=
$ acct decrypt --crypto-plugin aesgcm256 credentials.yml.aesgcm256 --output=yaml --acct-key="YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8="

You can use the acct command to decrypt the acct file, open it in the default text editor, then overwrite the previous acct file: The default editor from the “EDITOR” environment variable will be used if it is set, otherwise, “notepad” for windows and “vi” for unix systems. It can also be specified directly with the “–editor” flag.

$ acct edit credentials.yml --acct-key="YeckEnWEGOjBDVxxytw13AsdLgquzhCtFHOs7kDsna8="

What is POP?

This project is built with pop, a Python-based implementation of Plugin Oriented Programming (POP). POP seeks to bring together concepts and wisdom from the history of computing in new ways to solve modern computing problems.

For more information:

Getting Started

Prerequisites

  • Python 3.6+

  • git (if installing from source, or contributing to the project)

Installation

If wanting to use acct, you can do so by either installing from PyPI or from source.

Acknowledgements

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

acct-8.5.0.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

acct-8.5.0-py3-none-any.whl (16.4 kB view details)

Uploaded Python 3

File details

Details for the file acct-8.5.0.tar.gz.

File metadata

  • Download URL: acct-8.5.0.tar.gz
  • Upload date:
  • Size: 15.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.16

File hashes

Hashes for acct-8.5.0.tar.gz
Algorithm Hash digest
SHA256 5ed23df170900494e021320a3e36eaedc9c20c78d5bff2c87bbf3194a3bedea2
MD5 c6293adbb783232dbc1128e11110fbef
BLAKE2b-256 b54f7644f36418fad36dc373dc340e61815807c1ed523ed7859adaa61db9f8dd

See more details on using hashes here.

Provenance

File details

Details for the file acct-8.5.0-py3-none-any.whl.

File metadata

  • Download URL: acct-8.5.0-py3-none-any.whl
  • Upload date:
  • Size: 16.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.9.6 readme-renderer/37.3 requests/2.28.2 requests-toolbelt/0.10.1 urllib3/1.26.14 tqdm/4.64.1 importlib-metadata/6.0.0 keyring/23.13.1 rfc3986/2.0.0 colorama/0.4.6 CPython/3.9.16

File hashes

Hashes for acct-8.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c80f43e51218c2730942061aa0e138677d321f78e62cf0e4fe2de036f12fec2
MD5 53c37bb05c8db7d2b450b553d33118d7
BLAKE2b-256 b49efd478b62db0e6b2e9c2297a4978489fc1e108c4c28904f80c6d97f2ac33c

See more details on using hashes here.

Provenance

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