@cpod/sdk - v0.2.7
    Preparing search index...

    Function updateSecret

    • Update an existing secret

      Parameters

      • secretId: string

        The unique identifier of the secret

      • request: UpdateSecretRequest

        Secret data to update

      Returns Promise<Secret>

      The updated secret metadata

      401 - Not authenticated

      404 - Secret not found

      import { updateSecret } from "@cpod/sdk";

      const updated = await updateSecret("secret-123", {
      value: "new-secret-value",
      description: "Updated description",
      });