From c694c00476134f5a56e28a75722d28bd013d240a Mon Sep 17 00:00:00 2001 From: Alan Nelson <alan.nelson@nebraska.edu> Date: Mon, 27 Apr 2020 17:12:19 -0500 Subject: [PATCH] Add README --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..d946d1c --- /dev/null +++ b/README.md @@ -0,0 +1,11 @@ +# Public Utility Scripts +The purpose of this repository is to create a collection of useful scripts and commands for common and repetitive activities. + +**WARNING:** Some of the use cases below involve piping scripts into bash. While this is convenient, doing it blindly is a security risk. Always review scripts and know what they do before piping into a shell! + +# Contents +## `generate_svc_account_key.sh` +**Example:** `bash <(curl -q -o - "https://git.unl.edu/unl-its/public-utility-scripts/-/raw/master/generate_svc_account_key.sh" 2>/dev/null)` + +**Description:** Generates an ed25519 SSH key for a service account, adds the public part to the service account's `authorized_keys` file, and prints the private part of the key to the console. +The primary intended use of this script is generating keys for use wit GitLab CI. \ No newline at end of file -- GitLab