Skip to content

Commit 160c3dd

Browse files
committed
fix: typos in samples
1 parent 2317714 commit 160c3dd

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

samples/jwt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const {JWT} = require('google-auth-library');
2727
const fs = require('fs');
2828

2929
async function main(
30-
// Full path to the sevice account credential
30+
// Full path to the service account credential
3131
keyFile = process.env.GOOGLE_APPLICATION_CREDENTIALS
3232
) {
3333
const keys = JSON.parse(fs.readFileSync(keyFile, 'utf8'));

samples/keyfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const {GoogleAuth} = require('google-auth-library');
2222
* Acquire a client, and make a request to an API that's enabled by default.
2323
*/
2424
async function main(
25-
// Full path to the sevice account credential
25+
// Full path to the service account credential
2626
keyFile = process.env.GOOGLE_APPLICATION_CREDENTIALS
2727
) {
2828
const auth = new GoogleAuth({

samples/scripts/externalclient-setup.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async function main(config) {
165165
const awsAudience = `//iam.googleapis.com/${poolResourcePath}/providers/${awsProviderId}`;
166166

167167
// 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.
169169
response = await iam.projects.serviceAccounts.getIamPolicy({
170170
resource: `projects/${projectId}/serviceAccounts/${clientEmail}`,
171171
});

samples/test/externalclient.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
// AWS provider tests for AWS credentials
5151
// -------------------------------------
5252
// 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
5454
// externalclient-setup.js).
5555
// - iamcredentials:generateIdToken is used to generate a Google ID token using
5656
// the service account access token. The service account client_id is used as

0 commit comments

Comments
 (0)