diff --git a/packages/google-cloud-secretmanager/README.md b/packages/google-cloud-secretmanager/README.md index 421927c8011..03d67148bf6 100644 --- a/packages/google-cloud-secretmanager/README.md +++ b/packages/google-cloud-secretmanager/README.md @@ -128,6 +128,7 @@ Samples are in the [`samples/`](https://github.com/googleapis/nodejs-secret-mana | List Secrets | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/listSecrets.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/listSecrets.js,samples/README.md) | | Quickstart | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/quickstart.js,samples/README.md) | | Update Secret | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/updateSecret.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/updateSecret.js,samples/README.md) | +| Update Secret With Alias | [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/updateSecretWithAlias.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/updateSecretWithAlias.js,samples/README.md) | diff --git a/packages/google-cloud-secretmanager/samples/README.md b/packages/google-cloud-secretmanager/samples/README.md index 23529aae289..3e887ef3e26 100644 --- a/packages/google-cloud-secretmanager/samples/README.md +++ b/packages/google-cloud-secretmanager/samples/README.md @@ -27,6 +27,7 @@ * [List Secrets](#list-secrets) * [Quickstart](#quickstart) * [Update Secret](#update-secret) + * [Update Secret With Alias](#update-secret-with-alias) ## Before you begin @@ -293,6 +294,23 @@ __Usage:__ `node samples/updateSecret.js` +----- + + + + +### Update Secret With Alias + +View the [source code](https://github.com/googleapis/nodejs-secret-manager/blob/main/samples/updateSecretWithAlias.js). + +[![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/nodejs-secret-manager&page=editor&open_in_editor=samples/updateSecretWithAlias.js,samples/README.md) + +__Usage:__ + + +`node samples/updateSecretWithAlias.js` + +