Skip to content

opentelekomcloud-community/api-request-tool-csharp

Repository files navigation

api-request-tool-csharp

Windows desktop application for sending signed API request to T Cloud Public written in C#.

API Request Tool

For signing request, this tool uses:

To use and install this tool following framework SDKs need to be installed:

Environment variables

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>"

Build

To build execute:

dotnet build api-request-tool.csproj -c Debug

Run

To run execute:

dotnet run --project api-request-tool.csproj -c Debug

Build standalone exe

To build standalone exe:

dotnet publish .\api-request-tool.csproj -c Release

Output will be in:

bin/Release/net10.0-windows/win-x64/publish

Main file is:

bin/Release/net10.0-windows/win-x64/publish/api-request-tool.exe

Warranty Disclaimer

THE 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.

About

Windows tool for sending signed API request to T Cloud Public

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages