This commit is contained in:
2025-12-23 10:59:28 +01:00
parent 039078191f
commit 4339a7d769
2 changed files with 4 additions and 0 deletions

3
.vscode/settings.json vendored Normal file
View File

@@ -0,0 +1,3 @@
{
"python.defaultInterpreterPath": "../../venvs/portainer/bin/python"
}

View File

@@ -1352,4 +1352,5 @@ class Portainer:
path = f"/endpoints/{endpoint_id}/docker/secrets/create"
encoded = base64.b64encode(value.encode()).decode()
data = {"Name": name, "Data": encoded}
return self._api_post(path, data, timeout=timeout)