Remove json credentials

This commit is contained in:
Miguel García Domínguez
2020-12-16 15:50:27 +01:00
parent 79b2804bcd
commit 1e9d0c2dbe
3 changed files with 3 additions and 20 deletions
@@ -1,12 +0,0 @@
{
"type": "service_account",
"project_id": "projectid",
"private_key_id": "281379821737219379as87d",
"private_key": "-----BEGIN PRIVATE KEY-----\n-----END PRIVATE KEY-----\n",
"client_email": "service@appspot.gserviceaccount.com",
"client_id": "110459080868243513123",
"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/oauth2/v1/certs",
"client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/service%40appspot.gserviceaccount.com"
}
@@ -1,3 +1,4 @@
mgdsoft_stackdriver:
credentials_json_file: "%env(resolve:GOOGLE_SERVICE_ACCOUNT)%'"
# to test in local
# credentials_json_file: "google_acount_service.json'"
level: info
+1 -7
View File
@@ -4,11 +4,5 @@
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"env": {
"GOOGLE_SERVICE_ACCOUNT": "%kernel.project_dir%/config/keys/google_service_account.json"
},
"gitignore": [
"/config/keys/google_service_account.json"
]
}
}