We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f800be2 commit 1daeebaCopy full SHA for 1daeeba
kms/quickstart.js
@@ -22,8 +22,8 @@ const google = require('googleapis');
22
// Your Google Cloud Platform project ID
23
const projectId = 'YOUR_PROJECT_ID';
24
25
-// The "global" zone will list all keys. It can be a specific zone if desired.
26
-const zone = 'global';
+// Lists keys in the "global" location.
+const location = 'global';
27
28
// Acquires credentials
29
google.auth.getApplicationDefault((err, authClient) => {
@@ -44,7 +44,7 @@ google.auth.getApplicationDefault((err, authClient) => {
44
auth: authClient
45
});
46
const params = {
47
- parent: `projects/${projectId}/locations/${zone}`
+ parent: `projects/${projectId}/locations/${location}`
48
};
49
50
// Lists key rings
0 commit comments