Skip to content
This repository was archived by the owner on Dec 8, 2024. It is now read-only.

Onofre-Portfolio/Iana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Iana

Project to automize the send of quick emails with some attachments

Google configuration

Will be necessary to create an account service credential. ref: Create Credentials

After creating, generate a key for the account service and export it as JSON (will be downloaded) then you just need to create a JWT and store it in encoded_jwt.txt. ref: Create the JWT to authorize the request

Python script

This repo holds the script generate_jwt.py that basically read the file service_account.json(This is the key exported as JSON, I've just renamed) and generate the encoded JWT to encoded_jwt.txt.

With Nix

# Start the shell with the dependencies
nix-shell shell.nix

# Run the script
python generate_jwt.py

Without Nix

just install the dependencies with pip and run the script with your python bin.

deps:

  • pyjwt
  • cryptography

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published