Spaces:
Runtime error
Runtime error
Commit
·
31fd8c5
1
Parent(s):
04cf836
Fix auth string formatting
Browse files
main.py
CHANGED
|
@@ -14,6 +14,7 @@ from google.cloud import storage
|
|
| 14 |
# authenticate gcp
|
| 15 |
gcp_sa_key = json.loads(os.environ.get('GCP_SA_KEY'))
|
| 16 |
print(gcp_sa_key)
|
|
|
|
| 17 |
client = storage.Client.from_service_account_info(gcp_sa_key)
|
| 18 |
bucket = client.get_bucket('bmllc-marci-data-bucket')
|
| 19 |
|
|
|
|
| 14 |
# authenticate gcp
|
| 15 |
gcp_sa_key = json.loads(os.environ.get('GCP_SA_KEY'))
|
| 16 |
print(gcp_sa_key)
|
| 17 |
+
print(gcp_sa_key.keys())
|
| 18 |
client = storage.Client.from_service_account_info(gcp_sa_key)
|
| 19 |
bucket = client.get_bucket('bmllc-marci-data-bucket')
|
| 20 |
|