    def delete(self, name: str | None = None, cluster: str | None = None):
        """
        Delete a secret.

        Args:
            name (str | None): Name of the secret to delete.

        Raises:
            ValueError: If name is None.
        """
        if name is None:
            raise ValueError("name is required")
        self._client.v1.delete_secret(name, cluster)
Delete a secret.

Args:
name (str | None): Name of the secret to delete.

Raises:
ValueError: If name is None.
src/bentoml/_internal/cloud/secret.py