I try to create a environnement variable containing this:
{
"type":"1234",
"project_id": "1234",
"private_key_id": "1234",
"private_key": "1234564789",
"client_email": "iam.gserviceaccount.com",
"client_id": "1072",
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"token_uri": "https://oauth2.googleapis.com/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadatam"
}
I don't want to create the env variable "auth_url", "token_url" etc... I would like to create a variable that would contain all these elements.
I saw on the internet that we could do a $var = {"key", "index, ....}
but it doesn't work:
$GOOGLE_APPLICATION_CREDENTIALS={"type": "service_account", "project_id": "blabla"}
If someone has a solution.
Thanks for yours answers