SimpleMarkdown/flank_auth.sh

5 lines
No EOL
168 B
Bash

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