-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doubt about Service_Account #185
Comments
when I can do the correct implementation of this message "TypeError: Cannot read property 'trim' of undefined\n at getDERfromPEM (worker.js:2346:24)\n at getToken (worker.js:2439:51)\n at getTokenFromGCPServiceAccount (worker.js:2485:12)\n at GoogleDrive.initializeClient (worker.js:2521:32)\n at GoogleDrive.listFolder (worker.js:2603:18)\n at GoogleDrive.listFolderByPath (worker.js:2641:19)\n at async handleRequest (worker.js:2926:11)" follow the code. I decrease private keys just to check how it is being declared in the cloudflare
"private_key": "-----BEGIN PRIVATE KEY-----\t4PYLhI+YFzL1MIagXVUwWquUDNKR\nBcLtW8GrQ3RIIrYd4xA69nWs1X5k5rTDz21muu0x1TWrvM2gRg7+202n5/6TNyJ+\nF22GmQqs8KYFWR8Xlb1ajXQH\n-----END PRIVATE KEY-----\n", }],
|
You can't, the script can only use one service account |
I understand... if you can't, can you help me make a script that keeps changing service accounts from time to time? ex. every two hours? this would also "solve" the quota for me |
congratulations, wonderful script,
now I can make it work via service cout, I want to know how I can put more than one SA at a time, to "add" the daily limit.
ex.
[
{
"private_key": ["----- BEGIN PRIVATE KEY ----- \ nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDvhXN2mnz2hE2 \ n ----- END PRIVATE KEY ----- \ n"],
"client_email": ["mf5.iam.gserviceaccount.com"],
"token_uri": ["https://oauth2.googleapis.com/token"]
},
{
"private_key": ["----- BEGIN PRIVATE KEY ----- \ nMIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQDvhXN2mnz2hE2 \ n ----- END PRIVATE KEY ----- \ n"],
"client_email": ["mf5.iam.gserviceaccount.com"],
"token_uri": ["https://oauth2.googleapis.com/token"]
}
]
or how to activate the cloudflare deployment scripts on the [email protected] account
could also add data about folders
date, time and size?
The text was updated successfully, but these errors were encountered: