Skip to content

opentelekomcloud/OTCPowerCLI

Repository files navigation

About OTCPowerCLI
==================

OTCPowerCLI provides native OTC API function for MS PowerShell. OTCPowerCLI does not cover full OTC API, currently just some main compute, storage and network functions. It is intended for testing and further development.

Usage
-----

copy all files to a folder on your server
run  Import-OTCPowerCLI.ps1

enter credentials and configuration which is stored in %userprofile%\config.json and %userprofile%\credentials.json

"OTC_USERNAME":		e.g. 12345678 OTC00000000001234567890
your Username found on my Credential tab on OTC web portal

"OTC_API_KEY": e.g ddf0115d1118c7a0051b00f9b2e1db24685b34d22769d1a06ee5b6c24f06857ea4aac2500000002d0d8bc
your password entered on my Credential tab on OTC web portal - formally known as api key - 
password is stored encrypted

"OTC_USER_DOMAIN_NAME":	e.g. OTC00000000001234567890
your Domain Name found on my Credential tab on OTC web portal

"OTC_PROJECT_NAME":	e.g. eu-de
your Project found on my Credential tab on OTC web portal

"OTC_API_URL": 	e.g. eu-de.otc.t-systems.com
OTC API Url - see https://docs.otc.t-systems.com/en-us/endpoint/index.html

run get-help otc and see available commands

About

use OTC api with MS Windows PowerShell

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published