Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.21 KB

Remove-PiraeusPskSecret.md

File metadata and controls

33 lines (26 loc) · 1.21 KB

Remove-PiraeusPskSecret cmdlet

Back

Removes a PSK secret from Piraeus.

Parameter Optional Description
ServiceUrl N The management API service URL, e.g., https://<dns>.<location>.cloudapp.azure.com
SecurityToken N The security token previously acquired to access the management API.
Identity N Psk Identity.

|
Example

The PowerShell sample below shows how the $\pi$-system is returned from Piraeus

$url = "http://piraeus.eastus.cloudapp.azure.com"  
$code = "12345678"  
$token = Get-PiraeusManagementToken '
	-ServiceUrl $url `
	-Key $code 
$identity = "myPskIdentity"
Remove-PiraeusPskSecret `
              -ServiceUrl $url  `
              -SecurityToken $token `
              -Identity $identity

Management API