A collection of shell (POSIX, Bash) scripts for various purposes.
curl
the specific version to use any of them in your scripts, for example:
source <(curl --silent https://raw.githubusercontent.com/webyneter/shell-scripts/1.1.2/sourced/prompting.bash)
- Download:
curl \ --silent \ --output ./create_gcp_service_account \ https://raw.githubusercontent.com/webyneter/shell-scripts/master/gcp/create_gcp_service_account.bash chmod +x ./create_gcp_service_account
- Run:
./create_gcp_service_account \ my-project \ my-service-account-username \ 'My Service Account description' \ .gcp_service_account_private_keys
- Download:
curl \ --silent \ --output ./assign_gcp_service_account_iam_roles \ https://raw.githubusercontent.com/webyneter/shell-scripts/master/gcp/assign_gcp_service_account_iam_roles.bash chmod +x ./assign_gcp_service_account_iam_roles
- Run:
./assign_gcp_service_account_iam_roles \ my-project \ my-service-account-username \ 'roles/serviceusage.serviceUsageAdmin roles/servicemanagement.admin roles/compute.networkAdmin'