Skip to content

Commit 6a15029

Browse files
authored
feat(secret_manager): deprecate byname api endpoints (#999)
1 parent 68fcedb commit 6a15029

File tree

1 file changed

+21
-0
lines changed
  • packages/clients/src/api/secret/v1alpha1

1 file changed

+21
-0
lines changed

packages/clients/src/api/secret/v1alpha1/api.gen.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -430,6 +430,13 @@ export class API extends ParentAPI {
430430
* metadata of a secret's given version specified by the `region`,
431431
* `secret_name`, `revision` and `project_id` parameters.
432432
*
433+
* This method is deprecated.
434+
*
435+
* Scaleway recommends that you use the `ListSecrets` request with the `name`
436+
* filter to specify the secret version desired, then use the
437+
* `GetSecretVersion` request.
438+
*
439+
* @deprecated
433440
* @param request - The request {@link GetSecretVersionByNameRequest}
434441
* @returns A Promise of SecretVersion
435442
*/
@@ -539,6 +546,13 @@ export class API extends ParentAPI {
539546
* given secret's versions specified by the `secret_name`,`region` and
540547
* `project_id` parameters.
541548
*
549+
* This method is deprecated.
550+
*
551+
* Scaleway recommends that you use the `ListSecrets` request with the `name`
552+
* filter to specify the secret version desired, then use the
553+
* `ListSecretVersions` request.
554+
*
555+
* @deprecated
542556
* @param request - The request {@link ListSecretVersionsByNameRequest}
543557
* @returns A Promise of ListSecretVersionsResponse
544558
*/
@@ -627,6 +641,13 @@ export class API extends ParentAPI {
627641
* a secret's version specified by the `region`, `secret_name`, `revision` and
628642
* `project_id` parameters.
629643
*
644+
* This method is deprecated.
645+
*
646+
* Scaleway recommends that you use the `ListSecrets` request with the `name`
647+
* filter to specify the secret version desired, then use the
648+
* `AccessSecretVersion` request.
649+
*
650+
* @deprecated
630651
* @param request - The request {@link AccessSecretVersionByNameRequest}
631652
* @returns A Promise of AccessSecretVersionResponse
632653
*/

0 commit comments

Comments
 (0)