Skip to main content

Github Secret Syncer.

Project description

Github Secret Syncer

Synchronize Github secrets with local .env file.

Screenshot

Quickstart

Install it with pip:

pip install github-secret-syncer

Have a .env and quickstart.py

from pathlib import Path

import github_secret_syncer

base_dir = Path(__file__).parent

github_secret_syncer.sync_secrets(
    dotenv_path=base_dir / ".env",
    owner="your_github_username",
    repo="your_github_repo_name",
    pat="your_github_personal_access_token",
)

You will get some output like this:

Screenshot

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

github-secret-syncer-0.0.9.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

github_secret_syncer-0.0.9-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file github-secret-syncer-0.0.9.tar.gz.

File metadata

  • Download URL: github-secret-syncer-0.0.9.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.4

File hashes

Hashes for github-secret-syncer-0.0.9.tar.gz
Algorithm Hash digest
SHA256 f44876f40a2ec726163abb6324018adcb7688e0ed97e9de50c511f0a831c14c5
MD5 af70e88474c6282ab71b463566d95f72
BLAKE2b-256 6239351543d262b56b654d70c4f537868bda4d1115cd840cb0d7a41fdeee4c70

See more details on using hashes here.

File details

Details for the file github_secret_syncer-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for github_secret_syncer-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 65e8ae15aeaba23b0c638d94880ba1744f96516ffc85d2774fa9d87ddd1a6d36
MD5 b997de2a7d451b481f75539f85f1fcde
BLAKE2b-256 26944c04d1049f75af414c02cde21dade8b671b80a699411b4b2ada22b79557d

See more details on using hashes here.

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