Windows desktop application for sending signed API request to T Cloud Public written in C#.
For signing request, this tool uses:
- https://github.com/opentelekomcloud-community/otc-api-sign-sdk-csharp (hosted on GitHub NuGet registry )
To use and install this tool following framework SDKs need to be installed:
Following enviribment variables should be set
| Environment variable | Description |
|---|---|
| GITHUB_USERNAME | GitHub username to acces nuget repository on GitHub |
| GITHUB_TOKEN | GitHub token to acces nuget repository on GitHub |
| OTC_SDK_AK | T Cloud Public access key (used to prefill key field) |
| OTC_SDK_SK | T Cloud Public secret key (used to prefill secret field) |
Using powershell, variables can be set using:
$env:GITHUB_USERNAME = "<your github username>"
$env:GITHUB_TOKEN = "<your github token>"
$env:OTC_SDK_AK = "<your access key>"
$env:OTC_SDK_SK = "<your secret key>"To build execute:
dotnet build api-request-tool.csproj -c DebugTo run execute:
dotnet run --project api-request-tool.csproj -c DebugTo build standalone exe:
dotnet publish .\api-request-tool.csproj -c ReleaseOutput will be in:
bin/Release/net10.0-windows/win-x64/publishMain file is:
bin/Release/net10.0-windows/win-x64/publish/api-request-tool.exeTHE OPEN SOURCE SOFTWARE IN THIS PRODUCT IS DISTRIBUTED IN THE HOPE THAT IT WILL BE USEFUL,BUT WITHOUT ANY WARRANTY; WITHOUT EVEN THE IMPLIED WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
SEE THE APPLICABLE LICENSES FOR MORE DETAILS.
