#!/usr/bin/env bash GCLOUD_DIR="$HOME/.config/gcloud/" mkdir -p "$GCLOUD_DIR" echo "$GCLOUD_KEY" | base64 --decode > "$GCLOUD_DIR/application_default_credentials.json"