https://github.com/thatdevopsguy/gcp-scripts
Miscellaneous GCP scripts
https://github.com/thatdevopsguy/gcp-scripts
Last synced: about 1 year ago
JSON representation
Miscellaneous GCP scripts
- Host: GitHub
- URL: https://github.com/thatdevopsguy/gcp-scripts
- Owner: ThatDevopsGuy
- License: apache-2.0
- Created: 2018-03-13T21:51:07.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-03-14T18:56:11.000Z (over 8 years ago)
- Last Synced: 2025-04-12T12:17:57.452Z (about 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gcp-scripts
Miscellaneous GCP scripts
## gcp-ssh-key-adder.py
Quickly and easily add local SSH keys to your project's metadata with this
handy-dandy script! Simply invoke the script with a path to one or more public
SSH keys, and let the script do the rest!
Requires Python 3, and PyYAML. Wraps `gcloud` commands, so ensure that works!
```
usage: gcp-ssh-key-adder.py [-h] [-i] [-d]
public-ssh-key-file [public-ssh-key-file ...]
Add SSH keys to Google Cloud, the easy way!
positional arguments:
public-ssh-key-file path to public SSH key file you wish to add
optional arguments:
-h, --help show this help message and exit
-i, --info enable info logging mode
-d, --debug enable debug logging mode
A tdg script.
```