diff --git a/README.md b/README.md new file mode 100644 index 0000000000000000000000000000000000000000..d946d1cf7cdd3f79689053840d43838e72c34b81 --- /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