File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ const {JWT} = require('google-auth-library');
27
27
const fs = require ( 'fs' ) ;
28
28
29
29
async function main (
30
- // Full path to the sevice account credential
30
+ // Full path to the service account credential
31
31
keyFile = process . env . GOOGLE_APPLICATION_CREDENTIALS
32
32
) {
33
33
const keys = JSON . parse ( fs . readFileSync ( keyFile , 'utf8' ) ) ;
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ const {GoogleAuth} = require('google-auth-library');
22
22
* Acquire a client, and make a request to an API that's enabled by default.
23
23
*/
24
24
async function main (
25
- // Full path to the sevice account credential
25
+ // Full path to the service account credential
26
26
keyFile = process . env . GOOGLE_APPLICATION_CREDENTIALS
27
27
) {
28
28
const auth = new GoogleAuth ( {
Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ async function main(config) {
165
165
const awsAudience = `//iam.googleapis.com/${ poolResourcePath } /providers/${ awsProviderId } ` ;
166
166
167
167
// Allow service account impersonation.
168
- // Get the existing IAM policity bindings on the current service account.
168
+ // Get the existing IAM policy bindings on the current service account.
169
169
response = await iam . projects . serviceAccounts . getIamPolicy ( {
170
170
resource : `projects/${ projectId } /serviceAccounts/${ clientEmail } ` ,
171
171
} ) ;
Original file line number Diff line number Diff line change 50
50
// AWS provider tests for AWS credentials
51
51
// -------------------------------------
52
52
// The test suite will also run tests for AWS credentials. This works as
53
- // follows. (Note prequisite setup is needed. This is documented in
53
+ // follows. (Note prerequisite setup is needed. This is documented in
54
54
// externalclient-setup.js).
55
55
// - iamcredentials:generateIdToken is used to generate a Google ID token using
56
56
// the service account access token. The service account client_id is used as
You can’t perform that action at this time.
0 commit comments