Generate Google Service Account tokens with your YubiKey
Project description
google-yubikey
Generate Google Service Account tokens with your YubiKey!
This is perhaps the most secure way to use Google credentials outside of Google Cloud, since the private key never leaves the device, and so it cannot be leaked or stolen without physically stealing the YubiKey.
Requirements
YubiKey 4+
Setup
pip3 install google-yubikey
Usage
-
Run this only once to set up a private key on the YubiKey, or to renew it after expiration:
google-yubikey private-key
-
Run this once to register YubiKey with each Service Account:
google-yubikey public-key -a <service_account_email>
-
Run this every time you'd like to generate a Service Account token:
google-yubikey token -a <service_account_email>
-
Further customization options are available through:
google-yubikey [<command>] -h
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file google-yubikey-0.1.1.tar.gz
.
File metadata
- Download URL: google-yubikey-0.1.1.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86c5f3984d3451fba06eb183cadb4787f67350f56762f440b945ec76c04c20f4 |
|
MD5 | 6c0d6aa9ef182e3512e7313a78a38d65 |
|
BLAKE2b-256 | a5a9be83b0379bb5f562f955c0e2e14663357369cfc9bf2d92d44332eb6799c3 |
File details
Details for the file google_yubikey-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: google_yubikey-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b0627c246fb2eaad0882361b7e32e26ee7162456388cfbba25ea73365ae57143 |
|
MD5 | 4a9a4200f96ee22e369267a2897f43c0 |
|
BLAKE2b-256 | 8c8c95ede7dc4102793b564aa44edf3a5b174ce71b7300586f8aeab113f9cd37 |