Skip to main content

An agent for handling secrets in config

Project description

Secret-Agent

Examples

# automatically generates a key and encrypts an empty string
secret = SecretAgent.Secret()

# rekey the secret
secret.rekey()

# update the secret value
secret.update_value(data='new string value')

# fetch the secret value as clear text
secret_text = secret.clear_text


# encrypt using user supplied password
secret = SecretAgent.Secret(passwordKeyAsClearText='P@ssw0rd!!', data='secret text', forgetKeyOnCreation=True)
secret_text = secret.unlock(password=input())

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

secret_agent-23.12.2800.tar.gz (5.2 kB view details)

Uploaded Source

Built Distribution

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

secret_agent-23.12.2800-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file secret_agent-23.12.2800.tar.gz.

File metadata

  • Download URL: secret_agent-23.12.2800.tar.gz
  • Upload date:
  • Size: 5.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for secret_agent-23.12.2800.tar.gz
Algorithm Hash digest
SHA256 8b5481b77ccd7f98d53da4e2c13156d28975100d5e8c7005ec57406da9520fdf
MD5 f950174719da1749be42a6afe31443bb
BLAKE2b-256 6a6735a9a405b0d98a5688141f31881c47526be54f19c6084c76d575de42aa19

See more details on using hashes here.

File details

Details for the file secret_agent-23.12.2800-py3-none-any.whl.

File metadata

File hashes

Hashes for secret_agent-23.12.2800-py3-none-any.whl
Algorithm Hash digest
SHA256 c4776aad3ea7384f10ca3f7141a3ddb2c702e3e129278f3aa1572ee7d50d89d0
MD5 e96ba0c8486bb2b7cc9918909239b382
BLAKE2b-256 91734553dc7ef1f3e05a04f68b5312f3e25a29d08a71307951f6e574ae66f027

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