GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Change zone to location. · enterstudio/nodejs-docs-samples@1daeeba

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • kms
    • quickstart.js
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎kms/quickstart.js‎

Copy file name to clipboardExpand all lines: kms/quickstart.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ const google = require('googleapis');
2222
// Your Google Cloud Platform project ID
2323
const projectId = 'YOUR_PROJECT_ID';
2424

25-
// The "global" zone will list all keys. It can be a specific zone if desired.
26-
const zone = 'global';
25+
// Lists keys in the "global" location.
26+
const location = 'global';
2727

2828
// Acquires credentials
2929
google.auth.getApplicationDefault((err, authClient) => {
@@ -44,7 +44,7 @@ google.auth.getApplicationDefault((err, authClient) => {
4444
auth: authClient
4545
});
4646
const params = {
47-
parent: `projects/${projectId}/locations/${zone}`
47+
parent: `projects/${projectId}/locations/${location}`
4848
};
4949

5050
// Lists key rings

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.