Ascio Web Service v3

Class CreateDnsSecKeyResponse

PropertyDescription
CreateDnsSecKeyResult
DnsSecKey
ResultCodeExample: 1
ResultMessage
Errors

Used in Classes

Used in examples

<?php
$wsdl = "https://aws.demo.ascio.com/v3/aws.wsdl";
//$wsdl = "https://aws.ascio.com/v3/aws.wsdl";
$client = new SoapClient($wsdl,[ "trace" => 1, "soap_version" => SOAP_1_1)];
$credentials = ["Account"=> "myaccount", "Password" => "mypassword"];
$headers = [];
$headers[] = new \SoapHeader("http://www.ascio.com/2013/02","SecurityHeaderDetails", $credentials, false);
$headers[] = new \SoapHeader("http://www.ascio.com/2013/02","ImpersonationHeaderDetails", ["TransactionAccount" => "mysubaccount"], false);
$client->__setSoapHeaders($headers);
//DnsSecKey

$dnsSecKey =  [
	"Handle" => "JD123",
	"Status" => "StatusTest",
	"DigestAlgorithm" => "RSA-SHA256",
	"DigestType" => "SHA-256",
	"Digest" => "846E5ED4AB6788032B89393619752F662CF2B7B2046A8EC0804DF88F1469AC1E",
	"Protocol" => "ProtocolTest",
	"KeyType" => "KeyTypeTest",
	"KeyAlgorithm" => "KeyAlgorithmTest",
	"KeyTag" => "2224",
	"PublicKey" => "PublicKeyTest"
];
//CreateDnsSecKeyResponse

$createDnsSecKeyResponse =  [
	"ResultCode" => 1,
	"ResultMessage" => "ResultMessageTest",
	"Errors" => [
	],
	"DnsSecKey" => $dnsSecKey
];
WSDL for AWS v3
https://aws.demo.ascio.com/v3/aws.wsdl (OTE)
https://aws.ascio.com/v3/aws.wsdl (Live)
Please configure the IP-Whitelisting in the portal/demo-portal.