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 9bedf11 commit 9845093Copy full SHA for 9845093
secret-manager/createSecret.js
@@ -17,15 +17,15 @@
17
async function main(
18
parent = 'projects/my-project',
19
secretId = 'my-secret',
20
- ttl = '900s'
+ ttl = undefined
21
) {
22
// [START secretmanager_create_secret]
23
/**
24
* TODO(developer): Uncomment these variables before running the sample.
25
*/
26
// const parent = 'projects/my-project';
27
// const secretId = 'my-secret';
28
- // const ttl = '900s' // Optional: Specify TTL in seconds (e.g., '900s' for 15 minutes).
+ // const ttl = undefined // Optional: Specify TTL in seconds (e.g., '900s' for 15 minutes).
29
30
// Imports the Secret Manager library
31
const {SecretManagerServiceClient} = require('@google-cloud/secret-manager');
0 commit comments