From d866d5203eba7bd85e02f16706999b7b08712469 Mon Sep 17 00:00:00 2001 From: Hubert Cornet Date: Thu, 21 Aug 2025 07:50:22 +0200 Subject: [PATCH] Ajouter gitea/list-secret.ps1 --- gitea/list-secret.ps1 | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 gitea/list-secret.ps1 diff --git a/gitea/list-secret.ps1 b/gitea/list-secret.ps1 new file mode 100644 index 0000000..3681877 --- /dev/null +++ b/gitea/list-secret.ps1 @@ -0,0 +1,15 @@ +cls + +$token = "9999999999999999999999999999999999999999" +$response = $null + +$apiUrl = "https://gitea.domain/api/v1/repos///actions/secrets?token=$token" + +$headers = @{ + "accept" = "application/json" + "Content-Type" = "application/json" +} + +$response = Invoke-RestMethod -Uri $apiUrl -Method GET -Headers $headers + +$response \ No newline at end of file