diff --git a/azure-keyvault-core/pom.xml b/azure-keyvault-core/pom.xml
index 01cf213..649015a 100644
--- a/azure-keyvault-core/pom.xml
+++ b/azure-keyvault-core/pom.xml
@@ -8,7 +8,7 @@
com.microsoft.azure
azure-keyvault-parent
- 1.1-alpha-1
+ 1.1-alpha-2
../pom.xml
diff --git a/azure-keyvault-cryptography/pom.xml b/azure-keyvault-cryptography/pom.xml
index 75ff620..4cbe47c 100644
--- a/azure-keyvault-cryptography/pom.xml
+++ b/azure-keyvault-cryptography/pom.xml
@@ -9,7 +9,7 @@
com.microsoft.azure
azure-keyvault-parent
- 1.1-alpha-1
+ 1.1-alpha-2
../pom.xml
@@ -57,12 +57,12 @@
com.microsoft.azure
azure-keyvault-core
- 1.1-alpha-1
+ 1.1-alpha-2
com.microsoft.azure
azure-keyvault-webkey
- 1.1-alpha-1
+ 1.1-alpha-2
diff --git a/azure-keyvault-extensions/pom.xml b/azure-keyvault-extensions/pom.xml
index a07fc7f..78269a6 100644
--- a/azure-keyvault-extensions/pom.xml
+++ b/azure-keyvault-extensions/pom.xml
@@ -8,7 +8,7 @@
com.microsoft.azure
azure-keyvault-parent
- 1.1-alpha-1
+ 1.1-alpha-2
../pom.xml
@@ -68,22 +68,22 @@
com.microsoft.azure
azure-keyvault-core
- 1.1-alpha-1
+ 1.1-alpha-2
com.microsoft.azure
azure-keyvault-cryptography
- 1.1-alpha-1
+ 1.1-alpha-2
com.microsoft.azure
azure-keyvault
- 1.1-alpha-1
+ 1.1-alpha-2
com.microsoft.azure
azure-keyvault-webkey
- 1.1-alpha-1
+ 1.1-alpha-2
com.microsoft.azure
diff --git a/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultClientIntegrationTestBase.java b/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultClientIntegrationTestBase.java
index 6618177..344299f 100644
--- a/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultClientIntegrationTestBase.java
+++ b/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultClientIntegrationTestBase.java
@@ -8,6 +8,9 @@
import com.microsoft.azure.keyvault.KeyVaultClient;
import com.microsoft.azure.keyvault.authentication.KeyVaultCredentials;
import com.microsoft.azure.keyvault.models.Attributes;
+import com.microsoft.azure.keyvault.models.DeletedCertificateBundle;
+import com.microsoft.azure.keyvault.models.DeletedKeyBundle;
+import com.microsoft.azure.keyvault.models.DeletedSecretBundle;
import com.microsoft.azure.management.resources.core.AzureTestCredentials;
import com.microsoft.azure.management.resources.core.InterceptorManager;
import com.microsoft.azure.management.resources.core.TestBase;
@@ -309,6 +312,60 @@ public void write(int b) {
}
}
+
+ protected static DeletedCertificateBundle pollOnCertificateDeletion(String vaultBaseUrl, String certificateName)
+ throws Exception {
+ int pendingPollCount = 0;
+ while (pendingPollCount < 21) {
+ DeletedCertificateBundle certificateBundle = keyVaultClient.getDeletedCertificate(vaultBaseUrl,
+ certificateName);
+ if (certificateBundle == null) {
+ if (isRecordMode()) {
+ Thread.sleep(10000);
+ }
+ pendingPollCount += 1;
+ continue;
+ } else {
+ return certificateBundle;
+ }
+ }
+ throw new Exception("Deleting certificate delayed");
+ }
+
+ protected static DeletedKeyBundle pollOnKeyDeletion(String vaultBaseUrl, String certificateName) throws Exception {
+ int pendingPollCount = 0;
+ while (pendingPollCount < 21) {
+ DeletedKeyBundle deletedKeyBundle = keyVaultClient.getDeletedKey(vaultBaseUrl, certificateName);
+ if (deletedKeyBundle == null) {
+ if (isRecordMode()) {
+ Thread.sleep(10000);
+ }
+ pendingPollCount += 1;
+ continue;
+ } else {
+ return deletedKeyBundle;
+ }
+ }
+ throw new Exception("Deleting key delayed");
+ }
+
+ protected static DeletedSecretBundle pollOnSecretDeletion(String vaultBaseUrl, String secretName) throws Exception {
+ int pendingPollCount = 0;
+ while (pendingPollCount < 50) {
+ DeletedSecretBundle deletedSecretBundle = keyVaultClient.getDeletedSecret(vaultBaseUrl, secretName);
+ if (deletedSecretBundle == null) {
+ if (isRecordMode()) {
+ Thread.sleep(10000);
+ }
+ pendingPollCount += 1;
+ continue;
+ } else {
+ return deletedSecretBundle;
+ }
+ }
+ throw new Exception("Deleting secret delayed");
+ }
+
@After
public void afterTest() throws IOException {
diff --git a/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverBCProviderTest.java b/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverBCProviderTest.java
index c4612b7..767ba16 100644
--- a/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverBCProviderTest.java
+++ b/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverBCProviderTest.java
@@ -77,9 +77,10 @@ public void tearDown() throws Exception {
@Test
public void KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest() throws InterruptedException, ExecutionException
{
+ String TEST_KEY_NAME = KEY_NAME + "1";
try {
// Create a key on a vault.
- CreateKeyRequest request = new CreateKeyRequest.Builder(getVaultUri(), KEY_NAME, JsonWebKeyType.RSA).build();
+ CreateKeyRequest request = new CreateKeyRequest.Builder(getVaultUri(), TEST_KEY_NAME, JsonWebKeyType.RSA).build();
KeyBundle bundle = keyVaultClient.createKey(request);
if ( bundle != null )
@@ -100,7 +101,10 @@ public void KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest()
finally
{
// Delete the key
- keyVaultClient.deleteKey( getVaultUri(), KEY_NAME );
+ keyVaultClient.deleteKey( getVaultUri(), TEST_KEY_NAME );
+ pollOnKeyDeletion( getVaultUri(), TEST_KEY_NAME );
+ keyVaultClient.purgeDeletedKey( getVaultUri(), TEST_KEY_NAME);
+
}
}
}
@@ -121,9 +125,10 @@ public void KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCPr
byte[] CEK = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
byte[] EK = { 0x1F, (byte) 0xA6, (byte) 0x8B, 0x0A, (byte) 0x81, 0x12, (byte) 0xB4, 0x47, (byte) 0xAE, (byte) 0xF3, 0x4B, (byte) 0xD8, (byte) 0xFB, 0x5A, 0x7B, (byte) 0x82, (byte) 0x9D, 0x3E, (byte) 0x86, 0x23, 0x71, (byte) 0xD2, (byte) 0xCF, (byte) 0xE5 };
+ String TEST_SECRET_NAME = SECRET_NAME + "1";
try {
- SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
+ SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), TEST_SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
SecretBundle secretBundle = keyVaultClient.setSecret( request );
if ( secretBundle != null )
@@ -162,7 +167,10 @@ public void KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCPr
finally
{
// Delete the secret
- keyVaultClient.deleteSecret( getVaultUri(), SECRET_NAME );
+ keyVaultClient.deleteSecret( getVaultUri(), TEST_SECRET_NAME );
+ pollOnSecretDeletion( getVaultUri(), TEST_SECRET_NAME );
+ keyVaultClient.purgeDeletedSecret( getVaultUri(), TEST_SECRET_NAME );
+
}
}
}
@@ -182,8 +190,9 @@ public void KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCPr
byte[] CEK = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
byte[] EK = { (byte) 0x96, 0x77, (byte) 0x8B, 0x25, (byte) 0xAE, 0x6C, (byte) 0xA4, 0x35, (byte) 0xF9, 0x2B, 0x5B, (byte) 0x97, (byte) 0xC0, 0x50, (byte) 0xAE, (byte) 0xD2, 0x46, (byte) 0x8A, (byte) 0xB8, (byte) 0xA1, 0x7A, (byte) 0xD8, 0x4E, 0x5D };
+ String TEST_SECRET_NAME = SECRET_NAME + "2";
try {
- SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
+ SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), TEST_SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
SecretBundle secretBundle = keyVaultClient.setSecret( request );
if ( secretBundle != null )
@@ -223,7 +232,9 @@ public void KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCPr
finally
{
// Delete the key
- keyVaultClient.deleteSecret( getVaultUri(), SECRET_NAME );
+ keyVaultClient.deleteSecret( getVaultUri(), TEST_SECRET_NAME );
+ pollOnSecretDeletion( getVaultUri(), TEST_SECRET_NAME );
+ keyVaultClient.purgeDeletedSecret( getVaultUri(), TEST_SECRET_NAME);
}
}
} catch (Exception ex) {
@@ -242,8 +253,10 @@ public void KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCPr
byte[] CEK = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
byte[] EK = { 0x64, (byte) 0xE8, (byte) 0xC3, (byte) 0xF9, (byte) 0xCE, 0x0F, 0x5B, (byte) 0xA2, 0x63, (byte) 0xE9, 0x77, 0x79, 0x05, (byte) 0x81, (byte) 0x8A, 0x2A, (byte) 0x93, (byte) 0xC8, 0x19, 0x1E, 0x7D, 0x6E, (byte) 0x8A, (byte) 0xE7 };
+ String TEST_SECRET_NAME = SECRET_NAME + "3";
+
try {
- SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
+ SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), TEST_SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
SecretBundle secretBundle = keyVaultClient.setSecret( request );
if ( secretBundle != null )
@@ -283,7 +296,9 @@ public void KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCPr
finally
{
// Delete the key
- keyVaultClient.deleteSecret( getVaultUri(), SECRET_NAME );
+ keyVaultClient.deleteSecret( getVaultUri(), TEST_SECRET_NAME );
+ pollOnSecretDeletion( getVaultUri(), TEST_SECRET_NAME );
+ keyVaultClient.purgeDeletedSecret( getVaultUri(), TEST_SECRET_NAME );
}
}
} catch ( Exception ex ) {
diff --git a/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverDefaultProviderTest.java b/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverDefaultProviderTest.java
index 4e3190d..2df4c05 100644
--- a/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverDefaultProviderTest.java
+++ b/azure-keyvault-extensions/src/test/java/com/microsoft/azure/keyvault/extensions/test/KeyVaultKeyResolverDefaultProviderTest.java
@@ -78,9 +78,10 @@ public void tearDown() throws Exception {
@Test
public void KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest() throws InterruptedException, ExecutionException
{
+ String TEST_KEY_NAME = KEY_NAME + "1";
try {
// Create a key on a vault.
- CreateKeyRequest request = new CreateKeyRequest.Builder(getVaultUri(), KEY_NAME, JsonWebKeyType.RSA).build();
+ CreateKeyRequest request = new CreateKeyRequest.Builder(getVaultUri(), TEST_KEY_NAME, JsonWebKeyType.RSA).build();
KeyBundle keyBundle = keyVaultClient.createKey(request);
try
@@ -96,7 +97,9 @@ public void KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderT
finally
{
// Delete the key
- keyVaultClient.deleteKey( getVaultUri(), KEY_NAME );
+ keyVaultClient.deleteKey( getVaultUri(), TEST_KEY_NAME );
+ pollOnKeyDeletion( getVaultUri(), TEST_KEY_NAME );
+ keyVaultClient.purgeDeletedKey( getVaultUri(), TEST_KEY_NAME );
}
} catch(Exception ex) {
fail(ex.getMessage());
@@ -114,8 +117,10 @@ public void KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefa
byte[] CEK = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
byte[] EK = { 0x1F, (byte) 0xA6, (byte) 0x8B, 0x0A, (byte) 0x81, 0x12, (byte) 0xB4, 0x47, (byte) 0xAE, (byte) 0xF3, 0x4B, (byte) 0xD8, (byte) 0xFB, 0x5A, 0x7B, (byte) 0x82, (byte) 0x9D, 0x3E, (byte) 0x86, 0x23, 0x71, (byte) 0xD2, (byte) 0xCF, (byte) 0xE5 };
+ String TEST_SECRET_NAME = SECRET_NAME + "1";
+
try {
- SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
+ SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), TEST_SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
SecretBundle secretBundle = keyVaultClient.setSecret(request);
if ( secretBundle != null )
@@ -155,7 +160,9 @@ public void KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefa
finally
{
// Delete the key
- keyVaultClient.deleteSecret( getVaultUri(), SECRET_NAME );
+ keyVaultClient.deleteSecret( getVaultUri(), TEST_SECRET_NAME );
+ pollOnSecretDeletion( getVaultUri(), TEST_SECRET_NAME );
+ keyVaultClient.purgeDeletedSecret( getVaultUri(), TEST_SECRET_NAME );
}
}
} catch ( Exception ex ) {
@@ -174,8 +181,10 @@ public void KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefa
byte[] CEK = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
byte[] EK = { (byte) 0x96, 0x77, (byte) 0x8B, 0x25, (byte) 0xAE, 0x6C, (byte) 0xA4, 0x35, (byte) 0xF9, 0x2B, 0x5B, (byte) 0x97, (byte) 0xC0, 0x50, (byte) 0xAE, (byte) 0xD2, 0x46, (byte) 0x8A, (byte) 0xB8, (byte) 0xA1, 0x7A, (byte) 0xD8, 0x4E, 0x5D };
+ String TEST_SECRET_NAME = SECRET_NAME + "2";
+
try {
- SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
+ SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), TEST_SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
SecretBundle secretBundle = keyVaultClient.setSecret( request );
if ( secretBundle != null )
@@ -228,7 +237,9 @@ public void KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefa
finally
{
// Delete the key
- keyVaultClient.deleteSecret( getVaultUri(), SECRET_NAME );
+ keyVaultClient.deleteSecret( getVaultUri(), TEST_SECRET_NAME );
+ pollOnSecretDeletion( getVaultUri(), TEST_SECRET_NAME );
+ keyVaultClient.purgeDeletedSecret( getVaultUri(), TEST_SECRET_NAME );
}
}
} catch ( Exception ex ) {
@@ -247,8 +258,10 @@ public void KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefa
byte[] CEK = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55, 0x66, 0x77, (byte) 0x88, (byte) 0x99, (byte) 0xAA, (byte) 0xBB, (byte) 0xCC, (byte) 0xDD, (byte) 0xEE, (byte) 0xFF };
byte[] EK = { 0x64, (byte) 0xE8, (byte) 0xC3, (byte) 0xF9, (byte) 0xCE, 0x0F, 0x5B, (byte) 0xA2, 0x63, (byte) 0xE9, 0x77, 0x79, 0x05, (byte) 0x81, (byte) 0x8A, 0x2A, (byte) 0x93, (byte) 0xC8, 0x19, 0x1E, 0x7D, 0x6E, (byte) 0x8A, (byte) 0xE7 };
+ String TEST_SECRET_NAME = SECRET_NAME + "3";
+
try {
- SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
+ SetSecretRequest request = new SetSecretRequest.Builder(getVaultUri(), TEST_SECRET_NAME, _base64.encodeAsString(keyBytes)).withContentType("application/octet-stream").build();
SecretBundle secretBundle = keyVaultClient.setSecret( request );
if ( secretBundle != null )
@@ -307,7 +320,9 @@ public void KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefa
finally
{
// Delete the key
- keyVaultClient.deleteSecret( getVaultUri(), SECRET_NAME );
+ keyVaultClient.deleteSecret( getVaultUri(), TEST_SECRET_NAME );
+ pollOnSecretDeletion( getVaultUri(), TEST_SECRET_NAME );
+ keyVaultClient.purgeDeletedSecret( getVaultUri(), TEST_SECRET_NAME );
}
}
} catch ( Exception ex ) {
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json
index 5b49ca2..562fa2f 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverBCProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "POST",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/create?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:56 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "72dcb83a-3410-4fd4-8dec-307536ceb9d5",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "833fa574-220a-490b-93bc-f5e61e3b98fd",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "POST",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/create?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "674",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "b81fc3f4-def6-4bcb-85dc-6920d69ba4d6",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/48b62b3ede7744569920e4a35acf6601\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"njZZak4ugkmCJXgbyfAAEXFa50d3SVOnfxUR2tJZ90YCqF6AeXteWjJjgfQdvsp8H1u0HvMGHB8PYqAkdQWYCZPplSTySrTeM_SAp649NB90ZMwo2B6TG-tqZqJXQlaRZQ5NiRXkkBgSLY5UhPPHrIPwg9lgBRrp7wmTx4ADaE8ObCN7Hbqk52pu6rEuh2KADDFmFL4U0kEDjYq4c9z-VZxrosSAdxYME7RYajyZeoIDHotMGmVJK4HxDmIKvyAWFj-TUBbwNFnes9LcqPIUpsl8JAEwHGlqwT_fGvgPGJ3Pv5jUGyakIIFYqXVYbPowef53Hy2Sv0javDC7GiTNQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "dd018afa-a53b-4c05-9232-98f6d0afcbb0",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/29587f1903e14fdbb0fb421cfd25980c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tILrzug757_es-kZHwD9eNRs-1nzKLY-iNrYWndXuq3bVxGSOXRy14zxfTMWEtYSMkgOxRXvstpMUZMJ4g2hAdPh_BsxWcBMIJ8f7iTkat26yHGJ9IgphrhwVQH9RmCKeyTd7POY7xMCc5VpGzaezRR3lk4RMe8FK1dzO9mSOsWCBUoxpDnPOGoz2QP_0jPmyQJtI40z3tq1MGkPqRnhVtuT_GK7DCvB1sSzqv1RV24zDAXeD6cDAsikjsxUKVZKAbBWoOKhPAxFJ1h1oeUAM223mRcrIbPNpQI4sg6ECghCGpeyEZ461gpZIrxyuxCYdHoKay02VoA06C1poFtrJQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520610837,\"updated\":1520610837,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "a498a634-71a7-4c68-9a2b-0adae5a03a90",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "c92cc65f-c724-4ae3-a11b-36c64801d5fc",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "674",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "4f050389-ab11-4f08-bad9-ea603679ae71",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/48b62b3ede7744569920e4a35acf6601\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"njZZak4ugkmCJXgbyfAAEXFa50d3SVOnfxUR2tJZ90YCqF6AeXteWjJjgfQdvsp8H1u0HvMGHB8PYqAkdQWYCZPplSTySrTeM_SAp649NB90ZMwo2B6TG-tqZqJXQlaRZQ5NiRXkkBgSLY5UhPPHrIPwg9lgBRrp7wmTx4ADaE8ObCN7Hbqk52pu6rEuh2KADDFmFL4U0kEDjYq4c9z-VZxrosSAdxYME7RYajyZeoIDHotMGmVJK4HxDmIKvyAWFj-TUBbwNFnes9LcqPIUpsl8JAEwHGlqwT_fGvgPGJ3Pv5jUGyakIIFYqXVYbPowef53Hy2Sv0javDC7GiTNQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "adc6a92b-cb0c-4492-adb0-2d4d9a3fda95",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/29587f1903e14fdbb0fb421cfd25980c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tILrzug757_es-kZHwD9eNRs-1nzKLY-iNrYWndXuq3bVxGSOXRy14zxfTMWEtYSMkgOxRXvstpMUZMJ4g2hAdPh_BsxWcBMIJ8f7iTkat26yHGJ9IgphrhwVQH9RmCKeyTd7POY7xMCc5VpGzaezRR3lk4RMe8FK1dzO9mSOsWCBUoxpDnPOGoz2QP_0jPmyQJtI40z3tq1MGkPqRnhVtuT_GK7DCvB1sSzqv1RV24zDAXeD6cDAsikjsxUKVZKAbBWoOKhPAxFJ1h1oeUAM223mRcrIbPNpQI4sg6ECghCGpeyEZ461gpZIrxyuxCYdHoKay02VoA06C1poFtrJQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520610837,\"updated\":1520610837,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/48b62b3ede7744569920e4a35acf6601?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/29587f1903e14fdbb0fb421cfd25980c?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "ea21b41f-46ab-46ac-91e3-eed4882fe11a",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "dcac0144-2f4a-49d8-8a62-dd103b4c13bd",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/48b62b3ede7744569920e4a35acf6601?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/29587f1903e14fdbb0fb421cfd25980c?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "674",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "080010c1-62b3-4f52-9079-79c47b540726",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/48b62b3ede7744569920e4a35acf6601\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"njZZak4ugkmCJXgbyfAAEXFa50d3SVOnfxUR2tJZ90YCqF6AeXteWjJjgfQdvsp8H1u0HvMGHB8PYqAkdQWYCZPplSTySrTeM_SAp649NB90ZMwo2B6TG-tqZqJXQlaRZQ5NiRXkkBgSLY5UhPPHrIPwg9lgBRrp7wmTx4ADaE8ObCN7Hbqk52pu6rEuh2KADDFmFL4U0kEDjYq4c9z-VZxrosSAdxYME7RYajyZeoIDHotMGmVJK4HxDmIKvyAWFj-TUBbwNFnes9LcqPIUpsl8JAEwHGlqwT_fGvgPGJ3Pv5jUGyakIIFYqXVYbPowef53Hy2Sv0javDC7GiTNQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "2f88f621-ffe5-47da-b603-3ed72e036e53",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/29587f1903e14fdbb0fb421cfd25980c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tILrzug757_es-kZHwD9eNRs-1nzKLY-iNrYWndXuq3bVxGSOXRy14zxfTMWEtYSMkgOxRXvstpMUZMJ4g2hAdPh_BsxWcBMIJ8f7iTkat26yHGJ9IgphrhwVQH9RmCKeyTd7POY7xMCc5VpGzaezRR3lk4RMe8FK1dzO9mSOsWCBUoxpDnPOGoz2QP_0jPmyQJtI40z3tq1MGkPqRnhVtuT_GK7DCvB1sSzqv1RV24zDAXeD6cDAsikjsxUKVZKAbBWoOKhPAxFJ1h1oeUAM223mRcrIbPNpQI4sg6ECghCGpeyEZ461gpZIrxyuxCYdHoKay02VoA06C1poFtrJQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520610837,\"updated\":1520610837,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:38 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "65e6f0ea-150a-461e-8d59-15879d44c3a8",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "b2f53636-9b9d-4ebe-9e0e-780d40188a59",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:38 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "823",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,163 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "517739c3-dcbd-4e07-b55b-f4e9a93b49a8",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/48b62b3ede7744569920e4a35acf6601\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"njZZak4ugkmCJXgbyfAAEXFa50d3SVOnfxUR2tJZ90YCqF6AeXteWjJjgfQdvsp8H1u0HvMGHB8PYqAkdQWYCZPplSTySrTeM_SAp649NB90ZMwo2B6TG-tqZqJXQlaRZQ5NiRXkkBgSLY5UhPPHrIPwg9lgBRrp7wmTx4ADaE8ObCN7Hbqk52pu6rEuh2KADDFmFL4U0kEDjYq4c9z-VZxrosSAdxYME7RYajyZeoIDHotMGmVJK4HxDmIKvyAWFj-TUBbwNFnes9LcqPIUpsl8JAEwHGlqwT_fGvgPGJ3Pv5jUGyakIIFYqXVYbPowef53Hy2Sv0javDC7GiTNQQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "00280cfc-e83a-4fe9-913a-db36b2670d91",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1520610838,\"scheduledPurgeDate\":1528386838,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/29587f1903e14fdbb0fb421cfd25980c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tILrzug757_es-kZHwD9eNRs-1nzKLY-iNrYWndXuq3bVxGSOXRy14zxfTMWEtYSMkgOxRXvstpMUZMJ4g2hAdPh_BsxWcBMIJ8f7iTkat26yHGJ9IgphrhwVQH9RmCKeyTd7POY7xMCc5VpGzaezRR3lk4RMe8FK1dzO9mSOsWCBUoxpDnPOGoz2QP_0jPmyQJtI40z3tq1MGkPqRnhVtuT_GK7DCvB1sSzqv1RV24zDAXeD6cDAsikjsxUKVZKAbBWoOKhPAxFJ1h1oeUAM223mRcrIbPNpQI4sg6ECghCGpeyEZ461gpZIrxyuxCYdHoKay02VoA06C1poFtrJQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520610837,\"updated\":1520610837,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:58 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "881c71e5-353d-4fd4-8891-8a4f9bcd0b5c",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:59 GMT",
+ "content-length" : "85",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "c439b82c-9fd8-4e6f-99d8-f655ea78c7f7",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:09 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "176e4b9d-44ff-4e28-b8ad-a175238357dc",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:09 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "823",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "f54ba99f-711c-4343-8c09-f10258012079",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1520610838,\"scheduledPurgeDate\":1528386838,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/29587f1903e14fdbb0fb421cfd25980c\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"tILrzug757_es-kZHwD9eNRs-1nzKLY-iNrYWndXuq3bVxGSOXRy14zxfTMWEtYSMkgOxRXvstpMUZMJ4g2hAdPh_BsxWcBMIJ8f7iTkat26yHGJ9IgphrhwVQH9RmCKeyTd7POY7xMCc5VpGzaezRR3lk4RMe8FK1dzO9mSOsWCBUoxpDnPOGoz2QP_0jPmyQJtI40z3tq1MGkPqRnhVtuT_GK7DCvB1sSzqv1RV24zDAXeD6cDAsikjsxUKVZKAbBWoOKhPAxFJ1h1oeUAM223mRcrIbPNpQI4sg6ECghCGpeyEZ461gpZIrxyuxCYdHoKay02VoA06C1poFtrJQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520610837,\"updated\":1520610837,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:09 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "b598cfca-e1bb-4f78-9a49-002b266c7128",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:09 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "7c935c30-5787-4d86-8831-2cb9c301482d",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json
index 4e293c6..95823c3 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Key_KeyVaultKeyResolverDefaultProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "POST",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/create?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:48 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:39 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "836fe45b-3337-4084-bd71-f4a01234f275",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "21ea2687-a121-476b-8895-19194ef4429b",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "POST",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/create?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:49 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "674",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "ead3802d-87fc-4dcd-9a8d-d61cd9a5388b",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/ad8d8e7e860f43f5ac4bf4b900972ec2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mHlhF3WRE8XkchnbUG4xYx_7w11w8GXkdWv2yqp5WpRmSS0cSxv4qiZLL3Oznjj8AQs2pjL8uiqsXjJBqcPJvkMhnB9sha6vmUnuoiKpyi1bMV-zNXIBpTabrYjEnhPx9BFqXQWdLzmWQdlWu7JJTtabw9boVMHsJ-5jr5_wmoy8uF0XnNPSpunSKH3dUNrU-NrftMRPEW93ga59IiTmlGNUe_zOQeHBEJ_o4nxE07H7NjX3nBsrar-ycEMWdUV1XaJQrtBR3mgZxztx3OfXugzIn0bsGfYDf5mWjSnKUclhkeMen5ergTd8tN05tT_uOiUKKbj7ls0J53EniuaNmw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124909,\"updated\":1509124909,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "f12142ee-f10f-42bb-ba44-e3500957992b",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/5011e6e37ee1443f93e0b075f5188c07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"n50fmZOO8VR9eirkXiOxrzxFhAmiIl8OP_YIiL2JoLi_a2EcrGgggX8QqkT4qCB9PMLkGdnqdbuDlVZOxHSO4iAse0SyqtHdnk3bX13OHvkD5ScrqNlNyGP9vlIaEp9KF2ph_Iu6dxe_VAssI0cFN0c12Z40bgGntds3Sr3zM0LfyMBS3O09W99F9bXLel8So7aShYdvWk3pVBNo12Ik5pbMsssGQNVx_rE51OzNdalvkd8WziYJcwM4Zc4iwwFjhScmqDyMn3vVRgavC8a-XtY9V8MnIdBsEJyq-3TyiHOHNDWPP-PWgRnhSE-ZQw4ftz11dzwsTQo0KTxLftdMBw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520611840,\"updated\":1520611840,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:49 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "34a13f06-b0d3-4923-ba20-e14ee2e279e1",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "9b0f68cb-725b-4ff1-8a33-f7bdf60d79d8",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:49 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "674",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "2c686c34-63be-4860-97a4-51b2b55a817e",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/ad8d8e7e860f43f5ac4bf4b900972ec2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mHlhF3WRE8XkchnbUG4xYx_7w11w8GXkdWv2yqp5WpRmSS0cSxv4qiZLL3Oznjj8AQs2pjL8uiqsXjJBqcPJvkMhnB9sha6vmUnuoiKpyi1bMV-zNXIBpTabrYjEnhPx9BFqXQWdLzmWQdlWu7JJTtabw9boVMHsJ-5jr5_wmoy8uF0XnNPSpunSKH3dUNrU-NrftMRPEW93ga59IiTmlGNUe_zOQeHBEJ_o4nxE07H7NjX3nBsrar-ycEMWdUV1XaJQrtBR3mgZxztx3OfXugzIn0bsGfYDf5mWjSnKUclhkeMen5ergTd8tN05tT_uOiUKKbj7ls0J53EniuaNmw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124909,\"updated\":1509124909,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "3b883d1b-d938-46d2-baba-8885bbf5d10d",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/5011e6e37ee1443f93e0b075f5188c07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"n50fmZOO8VR9eirkXiOxrzxFhAmiIl8OP_YIiL2JoLi_a2EcrGgggX8QqkT4qCB9PMLkGdnqdbuDlVZOxHSO4iAse0SyqtHdnk3bX13OHvkD5ScrqNlNyGP9vlIaEp9KF2ph_Iu6dxe_VAssI0cFN0c12Z40bgGntds3Sr3zM0LfyMBS3O09W99F9bXLel8So7aShYdvWk3pVBNo12Ik5pbMsssGQNVx_rE51OzNdalvkd8WziYJcwM4Zc4iwwFjhScmqDyMn3vVRgavC8a-XtY9V8MnIdBsEJyq-3TyiHOHNDWPP-PWgRnhSE-ZQw4ftz11dzwsTQo0KTxLftdMBw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520611840,\"updated\":1520611840,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/ad8d8e7e860f43f5ac4bf4b900972ec2?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/5011e6e37ee1443f93e0b075f5188c07?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:49 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "422e602c-4357-4c09-b73c-3ebae57455fb",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "bb28fc65-6761-4500-902c-8fce442af4cd",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/ad8d8e7e860f43f5ac4bf4b900972ec2?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/5011e6e37ee1443f93e0b075f5188c07?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:49 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "674",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "36df9e87-7f06-4a36-8fc5-692be8a31eea",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/ad8d8e7e860f43f5ac4bf4b900972ec2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mHlhF3WRE8XkchnbUG4xYx_7w11w8GXkdWv2yqp5WpRmSS0cSxv4qiZLL3Oznjj8AQs2pjL8uiqsXjJBqcPJvkMhnB9sha6vmUnuoiKpyi1bMV-zNXIBpTabrYjEnhPx9BFqXQWdLzmWQdlWu7JJTtabw9boVMHsJ-5jr5_wmoy8uF0XnNPSpunSKH3dUNrU-NrftMRPEW93ga59IiTmlGNUe_zOQeHBEJ_o4nxE07H7NjX3nBsrar-ycEMWdUV1XaJQrtBR3mgZxztx3OfXugzIn0bsGfYDf5mWjSnKUclhkeMen5ergTd8tN05tT_uOiUKKbj7ls0J53EniuaNmw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124909,\"updated\":1509124909,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "cf861606-7f4e-4fa6-80a2-066d90d406f5",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/5011e6e37ee1443f93e0b075f5188c07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"n50fmZOO8VR9eirkXiOxrzxFhAmiIl8OP_YIiL2JoLi_a2EcrGgggX8QqkT4qCB9PMLkGdnqdbuDlVZOxHSO4iAse0SyqtHdnk3bX13OHvkD5ScrqNlNyGP9vlIaEp9KF2ph_Iu6dxe_VAssI0cFN0c12Z40bgGntds3Sr3zM0LfyMBS3O09W99F9bXLel8So7aShYdvWk3pVBNo12Ik5pbMsssGQNVx_rE51OzNdalvkd8WziYJcwM4Zc4iwwFjhScmqDyMn3vVRgavC8a-XtY9V8MnIdBsEJyq-3TyiHOHNDWPP-PWgRnhSE-ZQw4ftz11dzwsTQo0KTxLftdMBw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520611840,\"updated\":1520611840,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:49 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "8bb56581-7736-4d46-93b3-9accf548418b",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "5f7a29a5-c6bf-4a15-9900-74caab1c18bb",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:49 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "661",
+ "content-length" : "823",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,215 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "6c6ff180-702c-44ae-9e42-ea9821519bb7",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey/ad8d8e7e860f43f5ac4bf4b900972ec2\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"mHlhF3WRE8XkchnbUG4xYx_7w11w8GXkdWv2yqp5WpRmSS0cSxv4qiZLL3Oznjj8AQs2pjL8uiqsXjJBqcPJvkMhnB9sha6vmUnuoiKpyi1bMV-zNXIBpTabrYjEnhPx9BFqXQWdLzmWQdlWu7JJTtabw9boVMHsJ-5jr5_wmoy8uF0XnNPSpunSKH3dUNrU-NrftMRPEW93ga59IiTmlGNUe_zOQeHBEJ_o4nxE07H7NjX3nBsrar-ycEMWdUV1XaJQrtBR3mgZxztx3OfXugzIn0bsGfYDf5mWjSnKUclhkeMen5ergTd8tN05tT_uOiUKKbj7ls0J53EniuaNmw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1509124909,\"updated\":1509124909,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "35996477-8ca5-4681-93fb-f9788fdbb9d8",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1520611841,\"scheduledPurgeDate\":1528387841,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/5011e6e37ee1443f93e0b075f5188c07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"n50fmZOO8VR9eirkXiOxrzxFhAmiIl8OP_YIiL2JoLi_a2EcrGgggX8QqkT4qCB9PMLkGdnqdbuDlVZOxHSO4iAse0SyqtHdnk3bX13OHvkD5ScrqNlNyGP9vlIaEp9KF2ph_Iu6dxe_VAssI0cFN0c12Z40bgGntds3Sr3zM0LfyMBS3O09W99F9bXLel8So7aShYdvWk3pVBNo12Ik5pbMsssGQNVx_rE51OzNdalvkd8WziYJcwM4Zc4iwwFjhScmqDyMn3vVRgavC8a-XtY9V8MnIdBsEJyq-3TyiHOHNDWPP-PWgRnhSE-ZQw4ftz11dzwsTQo0KTxLftdMBw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520611840,\"updated\":1520611840,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "72ae2c7a-a7c7-455a-8a8d-995b034c9cc7",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:41 GMT",
+ "content-length" : "85",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "c78a09bb-56d9-4d29-909a-45466bc244ad",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:51 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "60491328-5dd8-4c2f-b0e6-54eda1e8e86c",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:51 GMT",
+ "content-length" : "85",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "ceb17c90-6d20-4656-b4bc-7da2a58ac27b",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:11:01 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "4d3478b1-36bf-4dc5-9156-dcb1dfeba8a1",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:11:01 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "823",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "22dc2dd0-aaa6-4c8c-a0a8-da773263a9a7",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1520611841,\"scheduledPurgeDate\":1528387841,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/5011e6e37ee1443f93e0b075f5188c07\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"n50fmZOO8VR9eirkXiOxrzxFhAmiIl8OP_YIiL2JoLi_a2EcrGgggX8QqkT4qCB9PMLkGdnqdbuDlVZOxHSO4iAse0SyqtHdnk3bX13OHvkD5ScrqNlNyGP9vlIaEp9KF2ph_Iu6dxe_VAssI0cFN0c12Z40bgGntds3Sr3zM0LfyMBS3O09W99F9bXLel8So7aShYdvWk3pVBNo12Ik5pbMsssGQNVx_rE51OzNdalvkd8WziYJcwM4Zc4iwwFjhScmqDyMn3vVRgavC8a-XtY9V8MnIdBsEJyq-3TyiHOHNDWPP-PWgRnhSE-ZQw4ftz11dzwsTQo0KTxLftdMBw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1520611840,\"updated\":1520611840,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:11:01 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "0ec8f35e-67ca-4469-9ad9-944ce8aa2726",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:11:01 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "aabfe5fe-dfdb-4c08-953a-643db34fcd19",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json
index 8b528b6..648eecd 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverBCProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:33 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:31 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "cf8fdd63-340a-42d4-827e-65732acf3adb",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "89faf1a6-beeb-44af-9836-16dd36742416",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:34 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:31 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "290",
+ "content-length" : "303",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "fbcbc52d-c3f8-4e0e-9b11-65da75b5585e",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/97dd67e8a33e49a5b289e529d31aa361\",\"attributes\":{\"enabled\":true,\"created\":1509124954,\"updated\":1509124954,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "fa0a41f0-15a4-4356-bee2-2342b6b2ce28",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/f05be6e1f6f04244860e1b5cf7f71c16\",\"attributes\":{\"enabled\":true,\"created\":1520610811,\"updated\":1520610811,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:34 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:31 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "72468fbd-6fef-4b47-8dad-b8ab604604d9",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "3202fae9-9e8b-439d-bbb8-3e1293c778f6",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:34 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:32 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "290",
+ "content-length" : "303",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "9287c437-b510-4b59-9ddb-f4d61dc0365c",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/97dd67e8a33e49a5b289e529d31aa361\",\"attributes\":{\"enabled\":true,\"created\":1509124954,\"updated\":1509124954,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "de5c4b03-143b-43be-a4a2-c97d946e9f33",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/f05be6e1f6f04244860e1b5cf7f71c16\",\"attributes\":{\"enabled\":true,\"created\":1520610811,\"updated\":1520610811,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/97dd67e8a33e49a5b289e529d31aa361?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/f05be6e1f6f04244860e1b5cf7f71c16?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:34 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:32 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "710c9354-5c70-448f-bf86-706fd8307b76",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "16609f92-6419-4d19-be46-b408f16891e9",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/97dd67e8a33e49a5b289e529d31aa361?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/f05be6e1f6f04244860e1b5cf7f71c16?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:34 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:32 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "290",
+ "content-length" : "303",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "c25e6d0a-a416-4789-be99-d7aa6362300f",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/97dd67e8a33e49a5b289e529d31aa361\",\"attributes\":{\"enabled\":true,\"created\":1509124954,\"updated\":1509124954,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "410e2877-1941-4589-a730-b18bef520584",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/f05be6e1f6f04244860e1b5cf7f71c16\",\"attributes\":{\"enabled\":true,\"created\":1520610811,\"updated\":1520610811,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:34 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:32 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "093b60e4-f440-4030-abc6-6be35c8c207a",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "b73d5dff-848f-415d-8ec7-ff0a99812efa",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:34 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:32 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "257",
+ "content-length" : "425",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,163 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "027d43f0-3f23-45f4-b27b-ab2205dc4ac2",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/97dd67e8a33e49a5b289e529d31aa361\",\"attributes\":{\"enabled\":true,\"created\":1509124954,\"updated\":1509124954,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "13e81037-f703-49e0-9975-20538bc1098f",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1520610812,\"scheduledPurgeDate\":1528386812,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/f05be6e1f6f04244860e1b5cf7f71c16\",\"attributes\":{\"enabled\":true,\"created\":1520610811,\"updated\":1520610811,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:32 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "0b03303f-d993-4db6-9f8e-9f417291056b",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:32 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "aeb31863-9945-40b5-a9e8-29fde82c5854",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:42 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "6088bf73-c126-40b4-bb77-ba3ab3faf5ca",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:43 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "425",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "d3f2f2e0-9631-44b2-b46f-df62c19e9b53",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1520610812,\"scheduledPurgeDate\":1528386812,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/f05be6e1f6f04244860e1b5cf7f71c16\",\"attributes\":{\"enabled\":true,\"created\":1520610811,\"updated\":1520610811,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:43 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "23b0f78c-c723-4f78-9065-f4aafba6dbfb",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:43 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "7e0215db-540e-4286-a0e9-69d933e2292a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json
index c64c066..8780659 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret128Base64_KeyVaultKeyResolverDefaultProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:46 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:54 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "49d577f9-a58d-4027-bcb3-8aaba751ab1f",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "548b0a69-2aef-40c8-94a7-7b7807a26c7b",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:46 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "290",
+ "content-length" : "303",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "59bc1f86-9162-4eec-bcb4-9b0b82ef1a06",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/052b93a607c249cebd8ce0fae91ba347\",\"attributes\":{\"enabled\":true,\"created\":1509124907,\"updated\":1509124907,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "351c4f09-8b0b-4488-81a8-9708e31bbb4a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/2e82f0b463444befb7640c521eee9783\",\"attributes\":{\"enabled\":true,\"created\":1520611795,\"updated\":1520611795,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:46 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "87f49054-9261-4d73-b8bc-49185702daa4",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "2728a967-2721-4c23-a94e-d6a16990e33a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:47 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "290",
+ "content-length" : "303",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "7cf90a9f-41b1-4c02-8a73-96a440ef86b3",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/052b93a607c249cebd8ce0fae91ba347\",\"attributes\":{\"enabled\":true,\"created\":1509124907,\"updated\":1509124907,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "b9262320-7e8d-435e-9b3c-a4b27c565d36",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/2e82f0b463444befb7640c521eee9783\",\"attributes\":{\"enabled\":true,\"created\":1520611795,\"updated\":1520611795,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/052b93a607c249cebd8ce0fae91ba347?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/2e82f0b463444befb7640c521eee9783?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:47 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "22fa3017-a166-4e98-8a60-844d7ba78105",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "1fd67ebd-4504-4529-becb-36bd1d9b5270",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/052b93a607c249cebd8ce0fae91ba347?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/2e82f0b463444befb7640c521eee9783?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:47 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "290",
+ "content-length" : "303",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "fe02fdd5-d52b-47e2-bc69-93d899ecb496",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/052b93a607c249cebd8ce0fae91ba347\",\"attributes\":{\"enabled\":true,\"created\":1509124907,\"updated\":1509124907,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "eae8cdff-4dda-4f75-a678-14a82136e478",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/2e82f0b463444befb7640c521eee9783\",\"attributes\":{\"enabled\":true,\"created\":1520611795,\"updated\":1520611795,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:47 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "d1dba06c-4be0-42de-b0b3-313557f8744f",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "912b9cab-8bf9-4e13-83e9-d067460f6909",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:47 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "257",
+ "content-length" : "425",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,215 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "c41590c6-cfea-42e8-b53e-c311b845a1d8",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/052b93a607c249cebd8ce0fae91ba347\",\"attributes\":{\"enabled\":true,\"created\":1509124907,\"updated\":1509124907,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "6d4e5aa5-cefd-4557-bce0-363e7b2c47bc",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1520611796,\"scheduledPurgeDate\":1528387796,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/2e82f0b463444befb7640c521eee9783\",\"attributes\":{\"enabled\":true,\"created\":1520611795,\"updated\":1520611795,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "3568d141-325a-430c-88d0-29f7908623d9",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:55 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "367ebdfa-57f9-47f5-8576-e07b473e5493",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:05 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "aae461f7-a8c3-499f-b9ce-8cf479368344",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:06 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "4046f461-623f-4b69-8fa9-b9dd3891496a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:16 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "2fb605aa-7d16-4813-94b5-c4a50170cb38",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:16 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "425",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "8dd62321-ebf6-43ce-8b3e-2d8715643181",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1520611796,\"scheduledPurgeDate\":1528387796,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/2e82f0b463444befb7640c521eee9783\",\"attributes\":{\"enabled\":true,\"created\":1520611795,\"updated\":1520611795,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:16 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "d4c8a519-e398-4287-9cf2-f96031b95619",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "d0b64c22-2d02-452c-829e-5fffb4aff6c3",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json
index b411b9d..ccaf63f 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverBCProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:09 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "e8981109-9337-46d3-b704-3c2ef83f3037",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "5260e931-7db2-4d1e-bb13-89d6906cc120",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "300",
+ "content-length" : "313",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "fac3ba6a-9444-4497-a676-716f8666775c",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/40e7914b8c464c77bc65cee1552405f0\",\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "4a66a450-2c65-4f50-9d84-1ce873ed7b9a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/5c3e090e5bb448cfb18a0744e9adbce7\",\"attributes\":{\"enabled\":true,\"created\":1520610850,\"updated\":1520610850,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "91bdde45-9737-4202-a7dd-c895f8beca25",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "891059b0-3c6f-481a-a191-ab8a3ec0282a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:38 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "300",
+ "content-length" : "313",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "41fe493c-4910-4626-ab3d-fcc4d1f5b24d",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/40e7914b8c464c77bc65cee1552405f0\",\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "bd509b79-aa9d-4684-b372-a70bbd65fee3",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/5c3e090e5bb448cfb18a0744e9adbce7\",\"attributes\":{\"enabled\":true,\"created\":1520610850,\"updated\":1520610850,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/40e7914b8c464c77bc65cee1552405f0?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/5c3e090e5bb448cfb18a0744e9adbce7?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:38 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "e285db27-d957-4a26-86bc-7dc46a6805b6",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "2c38d089-800a-45fe-a23e-b45594969870",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/40e7914b8c464c77bc65cee1552405f0?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/5c3e090e5bb448cfb18a0744e9adbce7?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:38 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "300",
+ "content-length" : "313",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "3a5f6ae8-0b6c-4177-bbf0-3c0458c518ba",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/40e7914b8c464c77bc65cee1552405f0\",\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "311f9640-bcb2-45ba-a88b-578fd6294ba6",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/5c3e090e5bb448cfb18a0744e9adbce7\",\"attributes\":{\"enabled\":true,\"created\":1520610850,\"updated\":1520610850,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:38 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "fc72f01a-bf36-4a43-a3cc-dc0bfea8ebbf",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "1fe8902e-4c82-494d-918a-2ede3e2747fd",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:38 GMT",
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "257",
+ "content-length" : "425",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,215 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "ec691a7d-f6ca-49ae-8a8c-a44573412319",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/40e7914b8c464c77bc65cee1552405f0\",\"attributes\":{\"enabled\":true,\"created\":1509124958,\"updated\":1509124958,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "b8612317-9f8d-40f9-9572-8411f54386b2",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1520610850,\"scheduledPurgeDate\":1528386850,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/5c3e090e5bb448cfb18a0744e9adbce7\",\"attributes\":{\"enabled\":true,\"created\":1520610850,\"updated\":1520610850,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "b028440d-1c3f-47a2-b13d-4d589f667a1b",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:10 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "08f1b6eb-f7d9-4109-aca2-04b3e41f7b81",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:21 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "64d25cd2-9bc1-484c-b7e9-72b1a3892c59",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:21 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "cd8611ce-1749-4f32-8988-7154eaf37c18",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:31 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "12263c56-064e-425c-9d3b-40dc210dd3f9",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:31 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "425",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "73a3a0e8-00cf-4513-a720-9aa044488950",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1520610850,\"scheduledPurgeDate\":1528386850,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/5c3e090e5bb448cfb18a0744e9adbce7\",\"attributes\":{\"enabled\":true,\"created\":1520610850,\"updated\":1520610850,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:31 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "c63e2fce-1a97-4940-a7cf-c12528a900e5",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:54:31 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "5f302584-a895-4ee2-a73b-579ae41c6d56",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json
index 2b4b9cf..378591b 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret192Base64_KeyVaultKeyResolverDefaultProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:44 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:31 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "a506ac1e-e1d6-4200-8eb0-e37bf51a4f1b",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "3c0ba6c8-69b1-4e09-9baf-42dcd7859113",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:44 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:32 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "300",
+ "content-length" : "313",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "e0fdbef4-ff32-46a8-99f9-007b9dd0a57f",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/478f8e1512844a77b961b88cc4529018\",\"attributes\":{\"enabled\":true,\"created\":1509124905,\"updated\":1509124905,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "eabcc81a-4ca3-45a5-b33d-e588bb3cc3a9",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/6853a4175d054a41868e53e4292bcf05\",\"attributes\":{\"enabled\":true,\"created\":1520611772,\"updated\":1520611772,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:44 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:32 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "d2f7ec72-7104-428b-922b-ca5713a3165c",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "ed005b6e-f1c0-4433-88a1-cab01f5b1d3f",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:45 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:32 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "300",
+ "content-length" : "313",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "54808fb3-d391-470c-90ed-45ec88789592",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/478f8e1512844a77b961b88cc4529018\",\"attributes\":{\"enabled\":true,\"created\":1509124905,\"updated\":1509124905,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "1011a520-ceb4-4957-9308-39755b4359ca",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/6853a4175d054a41868e53e4292bcf05\",\"attributes\":{\"enabled\":true,\"created\":1520611772,\"updated\":1520611772,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/478f8e1512844a77b961b88cc4529018?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/6853a4175d054a41868e53e4292bcf05?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:45 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:32 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "3f9bbdda-b658-4dba-8b03-5940f728cb5f",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "ab38b9cf-159d-4802-958e-f75586327665",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/478f8e1512844a77b961b88cc4529018?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/6853a4175d054a41868e53e4292bcf05?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:45 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:32 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "300",
+ "content-length" : "313",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "0fc71475-07aa-4941-aabf-0791a46aa2b2",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/478f8e1512844a77b961b88cc4529018\",\"attributes\":{\"enabled\":true,\"created\":1509124905,\"updated\":1509124905,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "d64b42e1-08ee-41ca-849e-67b571b3117a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/6853a4175d054a41868e53e4292bcf05\",\"attributes\":{\"enabled\":true,\"created\":1520611772,\"updated\":1520611772,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:45 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:32 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "7cae4c71-6b19-4c28-a8ef-8ac682935a4d",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "3d73ce04-c2ac-4817-9f1d-6fda5299be91",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:45 GMT",
+ "date" : "Fri, 09 Mar 2018 16:09:32 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "257",
+ "content-length" : "425",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,215 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "517240c2-d3b3-4689-a082-33c50e736a5f",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/478f8e1512844a77b961b88cc4529018\",\"attributes\":{\"enabled\":true,\"created\":1509124905,\"updated\":1509124905,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "788d99fe-f583-49d3-8621-0b691f1ce7ef",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1520611773,\"scheduledPurgeDate\":1528387773,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/6853a4175d054a41868e53e4292bcf05\",\"attributes\":{\"enabled\":true,\"created\":1520611772,\"updated\":1520611772,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:33 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "2345477e-aec1-4ef4-9978-630fbcb20abf",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:33 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "e1c72771-b626-43d0-b605-8f7a102e639a",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:43 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "73610fdd-d7b3-478e-89fb-9109199acf47",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:43 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "80f824f3-8c5f-4511-a2c9-79630960ca99",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:53 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "25d3fc39-47a7-47c8-a754-90a8f0c25eb4",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:53 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "425",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "5431ca8f-b512-41ab-ba46-4e39ebecc051",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1520611773,\"scheduledPurgeDate\":1528387773,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/6853a4175d054a41868e53e4292bcf05\",\"attributes\":{\"enabled\":true,\"created\":1520611772,\"updated\":1520611772,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:53 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "e7f02089-f0fe-4741-b8cf-a5814e003160",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:09:54 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "7ecc724a-32d7-4e72-9136-87b1d2830fd5",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json
index e2ca480..5ce827a 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverBCProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:36 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:43 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "30a31aa1-f647-4930-8700-e71d82a77594",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "9af2e824-b7b6-48d7-82d7-803abc7f5763",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:36 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:44 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "311",
+ "content-length" : "324",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "e9efe7ba-d60c-4dd6-8820-653882964356",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/f7a5d02d03c54b27811e2b9ada0bc8f1\",\"attributes\":{\"enabled\":true,\"created\":1509124956,\"updated\":1509124956,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "217a08b5-f0b5-4917-ab8d-12e5991192c5",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/d73bd7fbaaeb4e9e9b57fbd920c3dc23\",\"attributes\":{\"enabled\":true,\"created\":1520610824,\"updated\":1520610824,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:36 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:44 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "78e2bfbd-11ca-42d8-82e3-51c16410affc",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "77dc4201-c421-4b23-b3e9-9caf720e16e3",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:36 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:44 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "311",
+ "content-length" : "324",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "3686f342-cca2-42af-892d-dd143844495a",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/f7a5d02d03c54b27811e2b9ada0bc8f1\",\"attributes\":{\"enabled\":true,\"created\":1509124956,\"updated\":1509124956,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "f16a5fe9-97e3-468b-a728-8fcbba1fb038",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/d73bd7fbaaeb4e9e9b57fbd920c3dc23\",\"attributes\":{\"enabled\":true,\"created\":1520610824,\"updated\":1520610824,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/f7a5d02d03c54b27811e2b9ada0bc8f1?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/d73bd7fbaaeb4e9e9b57fbd920c3dc23?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:36 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:44 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "09d9ac0e-2d61-4599-923b-e593a32e62e8",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "d615b881-707b-4f6a-ba81-e093c0819ff7",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/f7a5d02d03c54b27811e2b9ada0bc8f1?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/d73bd7fbaaeb4e9e9b57fbd920c3dc23?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:36 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:45 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "311",
+ "content-length" : "324",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "ca7e346c-2cdc-4626-baa9-d667d44da90c",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/f7a5d02d03c54b27811e2b9ada0bc8f1\",\"attributes\":{\"enabled\":true,\"created\":1509124956,\"updated\":1509124956,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "73a6ac38-e44d-4662-bdb7-5c1d59fa0e8c",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/d73bd7fbaaeb4e9e9b57fbd920c3dc23\",\"attributes\":{\"enabled\":true,\"created\":1520610824,\"updated\":1520610824,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:36 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:45 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "0a98c9c7-a6cf-4724-9f56-8c48f43f3f1d",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "39398865-2514-48b2-9523-8853c39f884e",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:22:37 GMT",
+ "date" : "Fri, 09 Mar 2018 15:53:45 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "257",
+ "content-length" : "425",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,163 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "35a3391c-382b-49f8-8c44-3dc6f697b470",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/f7a5d02d03c54b27811e2b9ada0bc8f1\",\"attributes\":{\"enabled\":true,\"created\":1509124956,\"updated\":1509124956,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "48ed1254-afa1-42d8-9112-cbca0769da53",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1520610825,\"scheduledPurgeDate\":1528386825,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/d73bd7fbaaeb4e9e9b57fbd920c3dc23\",\"attributes\":{\"enabled\":true,\"created\":1520610824,\"updated\":1520610824,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:45 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "265f08d3-8fe7-4da4-a560-45d98589687c",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:46 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "2dada77f-533a-45e5-bce8-3133a26e2b49",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:55 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "4c70811c-3ffa-421c-b7ad-52a1b7fdcb4d",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:55 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "425",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "892cd263-ce9e-4805-9057-7c63ec7d5af6",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1520610825,\"scheduledPurgeDate\":1528386825,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/d73bd7fbaaeb4e9e9b57fbd920c3dc23\",\"attributes\":{\"enabled\":true,\"created\":1520610824,\"updated\":1520610824,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:55 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "d4505099-1b91-4a55-aff8-1d87e8130e26",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 15:53:56 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "de1bca8c-5df6-46e4-b346-6a20f52f4ca0",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json
index c28a2e3..38812a6 100644
--- a/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json
+++ b/azure-keyvault-extensions/target/test-classes/session-records/KeyVault_KeyVaultKeyResolver_Secret256Base64_KeyVaultKeyResolverDefaultProviderTest.json
@@ -1,13 +1,13 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:47 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -21,21 +21,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "c70c1c57-ed02-434a-9223-6c08b7152d88",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "28c789e0-8ef0-4648-966f-cbfc775b2e3e",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:47 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "311",
+ "content-length" : "324",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -47,19 +47,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "04bc5d8b-cdc3-4e26-833a-37d555c6df57",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/a58f82483ca447648d16a2cca913755e\",\"attributes\":{\"enabled\":true,\"created\":1509124908,\"updated\":1509124908,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "6c59444f-1d21-4f10-94ed-2bc698435599",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/81670455d42c460688c9a79cd87e5758\",\"attributes\":{\"enabled\":true,\"created\":1520611818,\"updated\":1520611818,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:48 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -73,21 +73,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "39a988ab-e1b8-4b67-b520-c19401a5fb9d",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "94266c62-8f36-4e74-ac56-c218408d1e38",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:48 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "311",
+ "content-length" : "324",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -99,19 +99,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "46129c99-ee6c-43fd-91cf-5da430069b80",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/a58f82483ca447648d16a2cca913755e\",\"attributes\":{\"enabled\":true,\"created\":1509124908,\"updated\":1509124908,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "e9d54492-7cf2-46cc-bccf-5610bf620b2c",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/81670455d42c460688c9a79cd87e5758\",\"attributes\":{\"enabled\":true,\"created\":1520611818,\"updated\":1520611818,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/a58f82483ca447648d16a2cca913755e?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/81670455d42c460688c9a79cd87e5758?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:48 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -125,21 +125,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "688660fc-7def-4dcd-92c7-8c06d6669b0d",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "a28ad531-496c-4abf-8296-82f66d7550f3",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "GET",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/a58f82483ca447648d16a2cca913755e?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/81670455d42c460688c9a79cd87e5758?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:48 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "311",
+ "content-length" : "324",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -151,19 +151,19 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "316e4b25-e102-4308-bd0a-f90f0b706fb0",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/a58f82483ca447648d16a2cca913755e\",\"attributes\":{\"enabled\":true,\"created\":1509124908,\"updated\":1509124908,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "b07e6e45-eb8d-4ca2-aebc-c612fe0873c2",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/81670455d42c460688c9a79cd87e5758\",\"attributes\":{\"enabled\":true,\"created\":1520611818,\"updated\":1520611818,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:48 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:17 GMT",
"server" : "Microsoft-IIS/8.5",
"content-length" : "0",
"expires" : "-1",
@@ -177,21 +177,21 @@
"x-powered-by" : "ASP.NET",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "d614f78e-92e1-4ef2-b1d0-b5bee6ffaf52",
- "x-ms-keyvault-service-version" : "1.0.0.826",
+ "x-ms-request-id" : "9e2b9bba-466c-489b-9b0b-6b9f292dbb67",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
"Body" : ""
}
}, {
"Method" : "DELETE",
- "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret?api-version=2016-10-01",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 2016-10-01)",
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Fri, 27 Oct 2017 17:21:48 GMT",
+ "date" : "Fri, 09 Mar 2018 16:10:18 GMT",
"server" : "Microsoft-IIS/8.5",
- "content-length" : "257",
+ "content-length" : "425",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
"retry-after" : "0",
@@ -203,9 +203,215 @@
"content-type" : "application/json; charset=utf-8",
"x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-request-id" : "59aa6f4e-1d46-47a0-baef-357966f19876",
- "x-ms-keyvault-service-version" : "1.0.0.826",
- "Body" : "{\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret/a58f82483ca447648d16a2cca913755e\",\"attributes\":{\"enabled\":true,\"created\":1509124908,\"updated\":1509124908,\"recoveryLevel\":\"Purgeable\"}}"
+ "x-ms-request-id" : "8ea2d273-417a-4759-88b2-6b5c0e066a90",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1520611818,\"scheduledPurgeDate\":1528387818,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/81670455d42c460688c9a79cd87e5758\",\"attributes\":{\"enabled\":true,\"created\":1520611818,\"updated\":1520611818,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:18 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "669fc213-861f-42b7-a58c-ea39f29cc700",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:18 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "ff5a2bdb-4211-4135-8260-8cc02c9a4e9b",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:28 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "d7314ecc-f612-444a-b8cb-66f1610cd5d8",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:28 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "404",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "67a90723-b3d1-40a4-b730-75c53913a659",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:39 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "bc5047d0-a0f5-4de5-8160-89e0bd413dbe",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:39 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "425",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "200",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "content-type" : "application/json; charset=utf-8",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "3e110a36-a80f-4149-8ce3-d0a059991057",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1520611818,\"scheduledPurgeDate\":1528387818,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/81670455d42c460688c9a79cd87e5758\",\"attributes\":{\"enabled\":true,\"created\":1520611818,\"updated\":1520611818,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:39 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "content-length" : "0",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "www-authenticate" : "Bearer authorization=\"https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47\", resource=\"https://vault.azure.net\"",
+ "retry-after" : "0",
+ "StatusCode" : "401",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "700f777e-1300-4811-a13a-ac522095e6e2",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
+ }
+ }, {
+ "Method" : "DELETE",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null (KeyVaultClientBase, 7.0-preview)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Fri, 09 Mar 2018 16:10:40 GMT",
+ "server" : "Microsoft-IIS/8.5",
+ "expires" : "-1",
+ "x-aspnet-version" : "4.0.30319",
+ "retry-after" : "0",
+ "StatusCode" : "204",
+ "pragma" : "no-cache",
+ "strict-transport-security" : "max-age=31536000;includeSubDomains",
+ "x-content-type-options" : "nosniff",
+ "x-powered-by" : "ASP.NET",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-request-id" : "e30bcca9-3229-45b8-b223-b445a5cd06ce",
+ "x-ms-keyvault-service-version" : "1.0.0.841",
+ "Body" : ""
}
} ],
"variables" : [ ]
diff --git a/azure-keyvault-webkey/pom.xml b/azure-keyvault-webkey/pom.xml
index e7de2ba..b430666 100644
--- a/azure-keyvault-webkey/pom.xml
+++ b/azure-keyvault-webkey/pom.xml
@@ -8,7 +8,7 @@
com.microsoft.azure
azure-keyvault-parent
- 1.1-alpha-1
+ 1.1-alpha-2
../pom.xml
diff --git a/azure-keyvault/pom.xml b/azure-keyvault/pom.xml
index 58634b6..992ea62 100644
--- a/azure-keyvault/pom.xml
+++ b/azure-keyvault/pom.xml
@@ -6,7 +6,7 @@
com.microsoft.azure
azure-keyvault-parent
- 1.1-alpha-1
+ 1.1-alpha-2
../pom.xml
diff --git a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java
index 6b9ab69..44f8bce 100644
--- a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java
+++ b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClientBase.java
@@ -1,13 +1,17 @@
/**
- * Code generated by Microsoft (R) AutoRest Code Generator 1.2.2.0
- * Changes may cause incorrect behavior and will be lost if the code is
- * regenerated.
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ *
+ * Code generated by Microsoft (R) AutoRest Code Generator.
*/
package com.microsoft.azure.keyvault;
+import com.microsoft.azure.AzureClient;
import com.microsoft.azure.keyvault.models.BackupKeyResult;
import com.microsoft.azure.keyvault.models.BackupSecretResult;
+import com.microsoft.azure.keyvault.models.BackupStorageResult;
import com.microsoft.azure.keyvault.models.CertificateAttributes;
import com.microsoft.azure.keyvault.models.CertificateBundle;
import com.microsoft.azure.keyvault.models.CertificateIssuerItem;
@@ -19,8 +23,12 @@
import com.microsoft.azure.keyvault.models.DeletedCertificateItem;
import com.microsoft.azure.keyvault.models.DeletedKeyBundle;
import com.microsoft.azure.keyvault.models.DeletedKeyItem;
+import com.microsoft.azure.keyvault.models.DeletedSasDefinitionBundle;
+import com.microsoft.azure.keyvault.models.DeletedSasDefinitionItem;
import com.microsoft.azure.keyvault.models.DeletedSecretBundle;
import com.microsoft.azure.keyvault.models.DeletedSecretItem;
+import com.microsoft.azure.keyvault.models.DeletedStorageAccountItem;
+import com.microsoft.azure.keyvault.models.DeletedStorageBundle;
import com.microsoft.azure.keyvault.models.IssuerAttributes;
import com.microsoft.azure.keyvault.models.IssuerBundle;
import com.microsoft.azure.keyvault.models.IssuerCredentials;
@@ -32,23 +40,32 @@
import com.microsoft.azure.keyvault.models.KeyVaultErrorException;
import com.microsoft.azure.keyvault.models.KeyVerifyResult;
import com.microsoft.azure.keyvault.models.OrganizationDetails;
-
+import com.microsoft.azure.keyvault.models.SasDefinitionAttributes;
+import com.microsoft.azure.keyvault.models.SasDefinitionBundle;
+import com.microsoft.azure.keyvault.models.SasDefinitionItem;
+import com.microsoft.azure.keyvault.models.SasTokenType;
import com.microsoft.azure.keyvault.models.SecretAttributes;
import com.microsoft.azure.keyvault.models.SecretBundle;
import com.microsoft.azure.keyvault.models.SecretItem;
-import com.microsoft.azure.AzureClient;
+import com.microsoft.azure.keyvault.models.StorageAccountAttributes;
+import com.microsoft.azure.keyvault.models.StorageAccountItem;
+import com.microsoft.azure.keyvault.models.StorageBundle;
import com.microsoft.azure.ListOperationCallback;
import com.microsoft.azure.Page;
import com.microsoft.azure.PagedList;
-import com.microsoft.azure.keyvault.webkey.*;
import com.microsoft.rest.RestClient;
import com.microsoft.rest.ServiceCallback;
import com.microsoft.rest.ServiceFuture;
import com.microsoft.rest.ServiceResponse;
-
+import java.io.IOException;
import java.util.List;
import java.util.Map;
import rx.Observable;
+import com.microsoft.azure.keyvault.webkey.JsonWebKey;
+import com.microsoft.azure.keyvault.webkey.JsonWebKeyEncryptionAlgorithm;
+import com.microsoft.azure.keyvault.webkey.JsonWebKeyOperation;
+import com.microsoft.azure.keyvault.webkey.JsonWebKeySignatureAlgorithm;
+import com.microsoft.azure.keyvault.webkey.JsonWebKeyType;
/**
* The interface for KeyVaultClientBase class.
@@ -128,7 +145,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -142,7 +159,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -155,7 +172,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -167,7 +184,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -178,7 +195,7 @@ public interface KeyVaultClientBase {
Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty);
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -197,7 +214,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -215,7 +232,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -232,7 +249,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new key, stores it, then returns key parameters and attributes to the client.
- * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The create key operation can be used to create any key type in Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. It requires the keys/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name for the new key. The system will generate the version name for the new key.
@@ -249,7 +266,7 @@ public interface KeyVaultClientBase {
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -263,7 +280,7 @@ public interface KeyVaultClientBase {
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -276,7 +293,7 @@ public interface KeyVaultClientBase {
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -288,7 +305,7 @@ public interface KeyVaultClientBase {
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -299,7 +316,7 @@ public interface KeyVaultClientBase {
Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key);
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -316,7 +333,7 @@ public interface KeyVaultClientBase {
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -332,7 +349,7 @@ public interface KeyVaultClientBase {
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -347,7 +364,7 @@ public interface KeyVaultClientBase {
/**
* Imports an externally created key, stores it, and returns key parameters and attributes to the client.
- * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key.
+ * The import key operation may be used to import any key type into an Azure Key Vault. If the named key already exists, Azure Key Vault creates a new version of the key. This operation requires the keys/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName Name for the imported key.
@@ -362,7 +379,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a key of any type from storage in Azure Key Vault.
- * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations.
+ * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to delete.
@@ -375,7 +392,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a key of any type from storage in Azure Key Vault.
- * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations.
+ * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to delete.
@@ -387,7 +404,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a key of any type from storage in Azure Key Vault.
- * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations.
+ * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to delete.
@@ -398,7 +415,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a key of any type from storage in Azure Key Vault.
- * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations.
+ * The delete key operation cannot be used to remove individual versions of a key. This operation removes the cryptographic material associated with the key, which means the key is not usable for Sign/Verify, Wrap/Unwrap or Encrypt/Decrypt operations. This operation requires the keys/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to delete.
@@ -409,7 +426,7 @@ public interface KeyVaultClientBase {
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -423,7 +440,7 @@ public interface KeyVaultClientBase {
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -436,7 +453,7 @@ public interface KeyVaultClientBase {
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -448,7 +465,7 @@ public interface KeyVaultClientBase {
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -459,7 +476,7 @@ public interface KeyVaultClientBase {
Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion);
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -476,7 +493,7 @@ public interface KeyVaultClientBase {
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -492,7 +509,7 @@ public interface KeyVaultClientBase {
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -507,7 +524,7 @@ public interface KeyVaultClientBase {
/**
* The update key operation changes specified attributes of a stored key and can be applied to any key type and key version stored in Azure Key Vault.
- * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed.
+ * In order to perform this operation, the key must already exist in the Key Vault. Note: The cryptographic material of a key itself cannot be changed. This operation requires the keys/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of key to update.
@@ -522,7 +539,7 @@ public interface KeyVaultClientBase {
/**
* Gets the public part of a stored key.
- * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response.
+ * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to get.
@@ -536,7 +553,7 @@ public interface KeyVaultClientBase {
/**
* Gets the public part of a stored key.
- * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response.
+ * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to get.
@@ -549,7 +566,7 @@ public interface KeyVaultClientBase {
/**
* Gets the public part of a stored key.
- * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response.
+ * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to get.
@@ -561,7 +578,7 @@ public interface KeyVaultClientBase {
/**
* Gets the public part of a stored key.
- * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response.
+ * The get key operation is applicable to all key types. If the requested key is symmetric, then no key material is released in the response. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key to get.
@@ -573,7 +590,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -586,7 +603,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -598,7 +615,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -609,7 +626,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -619,7 +636,7 @@ public interface KeyVaultClientBase {
Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName);
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -633,7 +650,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -646,7 +663,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -658,7 +675,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * The full key identifier, attributes, and tags are provided in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -670,7 +687,7 @@ public interface KeyVaultClientBase {
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -682,7 +699,7 @@ public interface KeyVaultClientBase {
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -693,7 +710,7 @@ public interface KeyVaultClientBase {
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -703,7 +720,7 @@ public interface KeyVaultClientBase {
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -712,7 +729,7 @@ public interface KeyVaultClientBase {
Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl);
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -725,7 +742,7 @@ public interface KeyVaultClientBase {
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -737,7 +754,7 @@ public interface KeyVaultClientBase {
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -748,7 +765,7 @@ public interface KeyVaultClientBase {
/**
* List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier, attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -759,7 +776,7 @@ public interface KeyVaultClientBase {
/**
* Requests that a backup of the specified key be downloaded to the client.
- * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area.
+ * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -772,7 +789,7 @@ public interface KeyVaultClientBase {
/**
* Requests that a backup of the specified key be downloaded to the client.
- * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area.
+ * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -784,7 +801,7 @@ public interface KeyVaultClientBase {
/**
* Requests that a backup of the specified key be downloaded to the client.
- * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area.
+ * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -795,7 +812,7 @@ public interface KeyVaultClientBase {
/**
* Requests that a backup of the specified key be downloaded to the client.
- * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area.
+ * The Key Backup operation exports a key from Azure Key Vault in a protected form. Note that this operation does NOT return key material in a form that can be used outside the Azure Key Vault system, the returned key material is either protected to a Azure Key Vault HSM or to Azure Key Vault itself. The intent of this operation is to allow a client to GENERATE a key in one Azure Key Vault instance, BACKUP the key, and then RESTORE it into another Azure Key Vault instance. The BACKUP operation may be used to export, in protected form, any key type from Azure Key Vault. Individual versions of a key cannot be backed up. BACKUP / RESTORE can be performed within geographical boundaries only; meaning that a BACKUP from one geographical area cannot be restored to another geographical area. For example, a backup from the US geographical area cannot be restored in an EU geographical area. This operation requires the key/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -806,7 +823,7 @@ public interface KeyVaultClientBase {
/**
* Restores a backed up key to a vault.
- * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault.
+ * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyBundleBackup The backup blob associated with a key bundle.
@@ -819,7 +836,7 @@ public interface KeyVaultClientBase {
/**
* Restores a backed up key to a vault.
- * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault.
+ * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyBundleBackup The backup blob associated with a key bundle.
@@ -831,7 +848,7 @@ public interface KeyVaultClientBase {
/**
* Restores a backed up key to a vault.
- * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault.
+ * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyBundleBackup The backup blob associated with a key bundle.
@@ -842,7 +859,7 @@ public interface KeyVaultClientBase {
/**
* Restores a backed up key to a vault.
- * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault.
+ * Imports a previously backed up key into Azure Key Vault, restoring the key, its key identifier, attributes and access control policies. The RESTORE operation may be used to import a previously backed up key. Individual versions of a key cannot be restored. The key is restored in its entirety with the same key name as it had when it was backed up. If the key name is not available in the target Key Vault, the RESTORE operation will be rejected. While the key name is retained during restore, the final key identifier will change if the key is restored to a different vault. Restore will restore all versions and preserve version identifiers. The RESTORE operation is subject to security constraints: The target Key Vault must be owned by the same Microsoft Azure Subscription as the source Key Vault The user must have RESTORE permission in the target Key Vault. This operation requires the keys/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyBundleBackup The backup blob associated with a key bundle.
@@ -853,7 +870,7 @@ public interface KeyVaultClientBase {
/**
* Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
- * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -869,7 +886,7 @@ public interface KeyVaultClientBase {
/**
* Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
- * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -884,7 +901,7 @@ public interface KeyVaultClientBase {
/**
* Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
- * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -898,7 +915,7 @@ public interface KeyVaultClientBase {
/**
* Encrypts an arbitrary sequence of bytes using an encryption key that is stored in a key vault.
- * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The ENCRYPT operation encrypts an arbitrary sequence of bytes using an encryption key that is stored in Azure Key Vault. Note that the ENCRYPT operation only supports a single block of data, the size of which is dependent on the target key and the encryption algorithm to be used. The ENCRYPT operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/encypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -912,7 +929,7 @@ public interface KeyVaultClientBase {
/**
* Decrypts a single block of encrypted data.
- * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -928,7 +945,7 @@ public interface KeyVaultClientBase {
/**
* Decrypts a single block of encrypted data.
- * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -943,7 +960,7 @@ public interface KeyVaultClientBase {
/**
* Decrypts a single block of encrypted data.
- * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -957,7 +974,7 @@ public interface KeyVaultClientBase {
/**
* Decrypts a single block of encrypted data.
- * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The DECRYPT operation decrypts a well-formed block of ciphertext using the target encryption key and specified algorithm. This operation is the reverse of the ENCRYPT operation; only a single block of data may be decrypted, the size of this block is dependent on the target key and the algorithm to be used. The DECRYPT operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/decrypt permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -971,7 +988,7 @@ public interface KeyVaultClientBase {
/**
* Creates a signature from a digest using the specified key.
- * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key.
+ * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -987,7 +1004,7 @@ public interface KeyVaultClientBase {
/**
* Creates a signature from a digest using the specified key.
- * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key.
+ * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1002,7 +1019,7 @@ public interface KeyVaultClientBase {
/**
* Creates a signature from a digest using the specified key.
- * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key.
+ * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1016,7 +1033,7 @@ public interface KeyVaultClientBase {
/**
* Creates a signature from a digest using the specified key.
- * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key.
+ * The SIGN operation is applicable to asymmetric and symmetric keys stored in Azure Key Vault since this operation uses the private portion of the key. This operation requires the keys/sign permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1030,7 +1047,7 @@ public interface KeyVaultClientBase {
/**
* Verifies a signature using a specified key.
- * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key.
+ * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1047,7 +1064,7 @@ public interface KeyVaultClientBase {
/**
* Verifies a signature using a specified key.
- * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key.
+ * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1063,7 +1080,7 @@ public interface KeyVaultClientBase {
/**
* Verifies a signature using a specified key.
- * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key.
+ * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1078,7 +1095,7 @@ public interface KeyVaultClientBase {
/**
* Verifies a signature using a specified key.
- * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key.
+ * The VERIFY operation is applicable to symmetric keys stored in Azure Key Vault. VERIFY is not strictly necessary for asymmetric keys stored in Azure Key Vault since signature verification can be performed using the public portion of the key but this operation is supported as a convenience for callers that only have a key-reference and not the public portion of the key. This operation requires the keys/verify permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1093,7 +1110,7 @@ public interface KeyVaultClientBase {
/**
* Wraps a symmetric key using a specified key.
- * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1109,7 +1126,7 @@ public interface KeyVaultClientBase {
/**
* Wraps a symmetric key using a specified key.
- * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1124,7 +1141,7 @@ public interface KeyVaultClientBase {
/**
* Wraps a symmetric key using a specified key.
- * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1138,7 +1155,7 @@ public interface KeyVaultClientBase {
/**
* Wraps a symmetric key using a specified key.
- * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material.
+ * The WRAP operation supports encryption of a symmetric key using a key encryption key that has previously been stored in an Azure Key Vault. The WRAP operation is only strictly necessary for symmetric keys stored in Azure Key Vault since protection with an asymmetric key can be performed using the public portion of the key. This operation is supported for asymmetric keys as a convenience for callers that have a key-reference but do not have access to the public key material. This operation requires the keys/wrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1152,7 +1169,7 @@ public interface KeyVaultClientBase {
/**
* Unwraps a symmetric key using the specified key that was initially used for wrapping that key.
- * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1168,7 +1185,7 @@ public interface KeyVaultClientBase {
/**
* Unwraps a symmetric key using the specified key that was initially used for wrapping that key.
- * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1183,7 +1200,7 @@ public interface KeyVaultClientBase {
/**
* Unwraps a symmetric key using the specified key that was initially used for wrapping that key.
- * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1197,7 +1214,7 @@ public interface KeyVaultClientBase {
/**
* Unwraps a symmetric key using the specified key that was initially used for wrapping that key.
- * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key.
+ * The UNWRAP operation supports decryption of a symmetric key using the target key encryption key. This operation is the reverse of the WRAP operation. The UNWRAP operation applies to asymmetric and symmetric keys stored in Azure Key Vault since it uses the private portion of the key. This operation requires the keys/unwrapKey permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key.
@@ -1210,7 +1227,8 @@ public interface KeyVaultClientBase {
Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1221,7 +1239,8 @@ public interface KeyVaultClientBase {
PagedList getDeletedKeys(final String vaultBaseUrl);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -1231,7 +1250,8 @@ public interface KeyVaultClientBase {
ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1240,7 +1260,8 @@ public interface KeyVaultClientBase {
Observable> getDeletedKeysAsync(final String vaultBaseUrl);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1248,7 +1269,8 @@ public interface KeyVaultClientBase {
*/
Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -1260,7 +1282,8 @@ public interface KeyVaultClientBase {
PagedList getDeletedKeys(final String vaultBaseUrl, final Integer maxresults);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -1271,7 +1294,8 @@ public interface KeyVaultClientBase {
ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -1281,7 +1305,8 @@ public interface KeyVaultClientBase {
Observable> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists the deleted keys in the specified vault.
+ * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a deleted key. This operation includes deletion-specific information. The Get Deleted Keys operation is applicable for vaults enabled for soft-delete. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -1291,10 +1316,11 @@ public interface KeyVaultClientBase {
Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
/**
- * Retrieves the deleted key information plus its attributes. Authorization: Requires the keys/get permission.
+ * Gets the public part of a deleted key.
+ * The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the key
+ * @param keyName The name of the key.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -1303,10 +1329,11 @@ public interface KeyVaultClientBase {
DeletedKeyBundle getDeletedKey(String vaultBaseUrl, String keyName);
/**
- * Retrieves the deleted key information plus its attributes. Authorization: Requires the keys/get permission.
+ * Gets the public part of a deleted key.
+ * The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the key
+ * @param keyName The name of the key.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -1314,27 +1341,30 @@ public interface KeyVaultClientBase {
ServiceFuture getDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
/**
- * Retrieves the deleted key information plus its attributes. Authorization: Requires the keys/get permission.
+ * Gets the public part of a deleted key.
+ * The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the key
+ * @param keyName The name of the key.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the DeletedKeyBundle object
*/
Observable getDeletedKeyAsync(String vaultBaseUrl, String keyName);
/**
- * Retrieves the deleted key information plus its attributes. Authorization: Requires the keys/get permission.
+ * Gets the public part of a deleted key.
+ * The Get Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the key
+ * @param keyName The name of the key.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the DeletedKeyBundle object
*/
Observable> getDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName);
/**
- * Permanently deletes the specified key. aka purges the key. Authorization: Requires the keys/purge permission.
+ * Permanently deletes the specified key.
+ * The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key
@@ -1345,7 +1375,8 @@ public interface KeyVaultClientBase {
void purgeDeletedKey(String vaultBaseUrl, String keyName);
/**
- * Permanently deletes the specified key. aka purges the key. Authorization: Requires the keys/purge permission.
+ * Permanently deletes the specified key.
+ * The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key
@@ -1356,7 +1387,8 @@ public interface KeyVaultClientBase {
ServiceFuture purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
/**
- * Permanently deletes the specified key. aka purges the key. Authorization: Requires the keys/purge permission.
+ * Permanently deletes the specified key.
+ * The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key
@@ -1366,7 +1398,8 @@ public interface KeyVaultClientBase {
Observable purgeDeletedKeyAsync(String vaultBaseUrl, String keyName);
/**
- * Permanently deletes the specified key. aka purges the key. Authorization: Requires the keys/purge permission.
+ * Permanently deletes the specified key.
+ * The Purge Deleted Key operation is applicable for soft-delete enabled vaults. While the operation can be invoked on any vault, it will return an error if invoked on a non soft-delete enabled vault. This operation requires the keys/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param keyName The name of the key
@@ -1376,10 +1409,11 @@ public interface KeyVaultClientBase {
Observable> purgeDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName);
/**
- * Recovers the deleted key back to its current version under /keys. Authorization: Requires the keys/recover permission.
+ * Recovers the deleted key to its latest version.
+ * The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the deleted key
+ * @param keyName The name of the deleted key.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -1388,10 +1422,11 @@ public interface KeyVaultClientBase {
KeyBundle recoverDeletedKey(String vaultBaseUrl, String keyName);
/**
- * Recovers the deleted key back to its current version under /keys. Authorization: Requires the keys/recover permission.
+ * Recovers the deleted key to its latest version.
+ * The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the deleted key
+ * @param keyName The name of the deleted key.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -1399,20 +1434,22 @@ public interface KeyVaultClientBase {
ServiceFuture recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
/**
- * Recovers the deleted key back to its current version under /keys. Authorization: Requires the keys/recover permission.
+ * Recovers the deleted key to its latest version.
+ * The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the deleted key
+ * @param keyName The name of the deleted key.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the KeyBundle object
*/
Observable recoverDeletedKeyAsync(String vaultBaseUrl, String keyName);
/**
- * Recovers the deleted key back to its current version under /keys. Authorization: Requires the keys/recover permission.
+ * Recovers the deleted key to its latest version.
+ * The Recover Deleted Key operation is applicable for deleted keys in soft-delete enabled vaults. It recovers the deleted key back to its latest version under /keys. An attempt to recover an non-deleted key will return an error. Consider this the inverse of the delete operation on soft-delete enabled vaults. This operation requires the keys/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param keyName The name of the deleted key
+ * @param keyName The name of the deleted key.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the KeyBundle object
*/
@@ -1420,7 +1457,7 @@ public interface KeyVaultClientBase {
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1434,7 +1471,7 @@ public interface KeyVaultClientBase {
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1447,7 +1484,7 @@ public interface KeyVaultClientBase {
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1459,7 +1496,7 @@ public interface KeyVaultClientBase {
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1470,7 +1507,7 @@ public interface KeyVaultClientBase {
Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value);
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1487,7 +1524,7 @@ public interface KeyVaultClientBase {
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1503,7 +1540,7 @@ public interface KeyVaultClientBase {
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1518,7 +1555,7 @@ public interface KeyVaultClientBase {
/**
* Sets a secret in a specified key vault.
- * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret.
+ * The SET operation adds a secret to the Azure Key Vault. If the named secret already exists, Azure Key Vault creates a new version of that secret. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1533,7 +1570,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a secret from a specified key vault.
- * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret.
+ * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1546,7 +1583,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a secret from a specified key vault.
- * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret.
+ * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1558,7 +1595,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a secret from a specified key vault.
- * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret.
+ * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1569,7 +1606,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a secret from a specified key vault.
- * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret.
+ * The DELETE operation applies to any secret stored in Azure Key Vault. DELETE cannot be applied to an individual version of a secret. This operation requires the secrets/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1580,7 +1617,7 @@ public interface KeyVaultClientBase {
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1594,7 +1631,7 @@ public interface KeyVaultClientBase {
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1607,7 +1644,7 @@ public interface KeyVaultClientBase {
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1619,7 +1656,7 @@ public interface KeyVaultClientBase {
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1630,7 +1667,7 @@ public interface KeyVaultClientBase {
Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion);
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1647,7 +1684,7 @@ public interface KeyVaultClientBase {
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1663,7 +1700,7 @@ public interface KeyVaultClientBase {
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1678,7 +1715,7 @@ public interface KeyVaultClientBase {
/**
* Updates the attributes associated with a specified secret in a given key vault.
- * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed.
+ * The UPDATE operation changes specified attributes of an existing stored secret. Attributes that are not specified in the request are left unchanged. The value of a secret itself cannot be changed. This operation requires the secrets/set permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1693,7 +1730,7 @@ public interface KeyVaultClientBase {
/**
* Get a specified secret from a given key vault.
- * The GET operation is applicable to any secret stored in Azure Key Vault.
+ * The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1707,7 +1744,7 @@ public interface KeyVaultClientBase {
/**
* Get a specified secret from a given key vault.
- * The GET operation is applicable to any secret stored in Azure Key Vault.
+ * The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1720,7 +1757,7 @@ public interface KeyVaultClientBase {
/**
* Get a specified secret from a given key vault.
- * The GET operation is applicable to any secret stored in Azure Key Vault.
+ * The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1732,7 +1769,7 @@ public interface KeyVaultClientBase {
/**
* Get a specified secret from a given key vault.
- * The GET operation is applicable to any secret stored in Azure Key Vault.
+ * The GET operation is applicable to any secret stored in Azure Key Vault. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1744,7 +1781,7 @@ public interface KeyVaultClientBase {
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1756,7 +1793,7 @@ public interface KeyVaultClientBase {
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -1767,7 +1804,7 @@ public interface KeyVaultClientBase {
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1777,7 +1814,7 @@ public interface KeyVaultClientBase {
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1786,10 +1823,10 @@ public interface KeyVaultClientBase {
Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl);
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -1799,10 +1836,10 @@ public interface KeyVaultClientBase {
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -1811,10 +1848,10 @@ public interface KeyVaultClientBase {
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<SecretItem> object
*/
@@ -1822,18 +1859,18 @@ public interface KeyVaultClientBase {
/**
* List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * The Get Secrets operation is applicable to the entire vault. However, only the base secret identifier and its attributes are provided in the response. Individual secret versions are not listed in the response. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<SecretItem> object
*/
Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1845,8 +1882,8 @@ public interface KeyVaultClientBase {
PagedList getSecretVersions(final String vaultBaseUrl, final String secretName);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1857,8 +1894,8 @@ public interface KeyVaultClientBase {
ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback serviceCallback);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1868,8 +1905,8 @@ public interface KeyVaultClientBase {
Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -1878,12 +1915,12 @@ public interface KeyVaultClientBase {
*/
Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -1892,12 +1929,12 @@ public interface KeyVaultClientBase {
PagedList getSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -1905,31 +1942,32 @@ public interface KeyVaultClientBase {
ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback serviceCallback);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<SecretItem> object
*/
Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * List all versions of the specified secret.
+ * The full secret identifier and attributes are provided in the response. No values are returned for the secrets. This operations requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
- * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param maxresults Maximum number of results to return in a page. If not specified, the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<SecretItem> object
*/
Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1940,7 +1978,8 @@ public interface KeyVaultClientBase {
PagedList getDeletedSecrets(final String vaultBaseUrl);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -1950,7 +1989,8 @@ public interface KeyVaultClientBase {
ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1959,7 +1999,8 @@ public interface KeyVaultClientBase {
Observable> getDeletedSecretsAsync(final String vaultBaseUrl);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -1967,7 +2008,8 @@ public interface KeyVaultClientBase {
*/
Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -1979,7 +2021,8 @@ public interface KeyVaultClientBase {
PagedList getDeletedSecrets(final String vaultBaseUrl, final Integer maxresults);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -1990,7 +2033,8 @@ public interface KeyVaultClientBase {
ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -2000,7 +2044,8 @@ public interface KeyVaultClientBase {
Observable> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Lists deleted secrets for the specified vault.
+ * The Get Deleted Secrets operation returns the secrets that have been deleted for a vault enabled for soft-delete. This operation requires the secrets/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -2010,10 +2055,11 @@ public interface KeyVaultClientBase {
Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
/**
- * Retrieves the deleted secret information plus its attributes. Authorization: requires the secrets/get permission.
+ * Gets the specified deleted secret.
+ * The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -2022,10 +2068,11 @@ public interface KeyVaultClientBase {
DeletedSecretBundle getDeletedSecret(String vaultBaseUrl, String secretName);
/**
- * Retrieves the deleted secret information plus its attributes. Authorization: requires the secrets/get permission.
+ * Gets the specified deleted secret.
+ * The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -2033,30 +2080,33 @@ public interface KeyVaultClientBase {
ServiceFuture getDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
/**
- * Retrieves the deleted secret information plus its attributes. Authorization: requires the secrets/get permission.
+ * Gets the specified deleted secret.
+ * The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the DeletedSecretBundle object
*/
Observable getDeletedSecretAsync(String vaultBaseUrl, String secretName);
/**
- * Retrieves the deleted secret information plus its attributes. Authorization: requires the secrets/get permission.
+ * Gets the specified deleted secret.
+ * The Get Deleted Secret operation returns the specified deleted secret along with its attributes. This operation requires the secrets/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the DeletedSecretBundle object
*/
Observable> getDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName);
/**
- * Permanently deletes the specified secret. aka purges the secret. Authorization: requires the secrets/purge permission.
+ * Permanently deletes the specified secret.
+ * The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -2064,10 +2114,11 @@ public interface KeyVaultClientBase {
void purgeDeletedSecret(String vaultBaseUrl, String secretName);
/**
- * Permanently deletes the specified secret. aka purges the secret. Authorization: requires the secrets/purge permission.
+ * Permanently deletes the specified secret.
+ * The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -2075,30 +2126,33 @@ public interface KeyVaultClientBase {
ServiceFuture purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
/**
- * Permanently deletes the specified secret. aka purges the secret. Authorization: requires the secrets/purge permission.
+ * Permanently deletes the specified secret.
+ * The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
Observable purgeDeletedSecretAsync(String vaultBaseUrl, String secretName);
/**
- * Permanently deletes the specified secret. aka purges the secret. Authorization: requires the secrets/purge permission.
+ * Permanently deletes the specified secret.
+ * The purge deleted secret operation removes the secret permanently, without the possibility of recovery. This operation can only be enabled on a soft-delete enabled vault. This operation requires the secrets/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the secret
+ * @param secretName The name of the secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceResponse} object if successful.
*/
Observable> purgeDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName);
/**
- * Recovers the deleted secret back to its current version under /secrets. Authorization: requires the secrets/recover permission.
+ * Recovers the deleted secret to the latest version.
+ * Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the deleted secret
+ * @param secretName The name of the deleted secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
@@ -2107,10 +2161,11 @@ public interface KeyVaultClientBase {
SecretBundle recoverDeletedSecret(String vaultBaseUrl, String secretName);
/**
- * Recovers the deleted secret back to its current version under /secrets. Authorization: requires the secrets/recover permission.
+ * Recovers the deleted secret to the latest version.
+ * Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the deleted secret
+ * @param secretName The name of the deleted secret.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
@@ -2118,27 +2173,30 @@ public interface KeyVaultClientBase {
ServiceFuture recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
/**
- * Recovers the deleted secret back to its current version under /secrets. Authorization: requires the secrets/recover permission.
+ * Recovers the deleted secret to the latest version.
+ * Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the deleted secret
+ * @param secretName The name of the deleted secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the SecretBundle object
*/
Observable recoverDeletedSecretAsync(String vaultBaseUrl, String secretName);
/**
- * Recovers the deleted secret back to its current version under /secrets. Authorization: requires the secrets/recover permission.
+ * Recovers the deleted secret to the latest version.
+ * Recovers the deleted secret in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the secrets/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
- * @param secretName The name of the deleted secret
+ * @param secretName The name of the deleted secret.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the SecretBundle object
*/
Observable> recoverDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName);
/**
- * Requests that a backup of the specified secret be downloaded to the client. Authorization: requires the secrets/backup permission.
+ * Backs up the specified secret.
+ * Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -2150,7 +2208,8 @@ public interface KeyVaultClientBase {
BackupSecretResult backupSecret(String vaultBaseUrl, String secretName);
/**
- * Requests that a backup of the specified secret be downloaded to the client. Authorization: requires the secrets/backup permission.
+ * Backs up the specified secret.
+ * Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -2161,7 +2220,8 @@ public interface KeyVaultClientBase {
ServiceFuture backupSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
/**
- * Requests that a backup of the specified secret be downloaded to the client. Authorization: requires the secrets/backup permission.
+ * Backs up the specified secret.
+ * Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -2171,7 +2231,8 @@ public interface KeyVaultClientBase {
Observable backupSecretAsync(String vaultBaseUrl, String secretName);
/**
- * Requests that a backup of the specified secret be downloaded to the client. Authorization: requires the secrets/backup permission.
+ * Backs up the specified secret.
+ * Requests that a backup of the specified secret be downloaded to the client. All versions of the secret will be downloaded. This operation requires the secrets/backup permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretName The name of the secret.
@@ -2181,7 +2242,8 @@ public interface KeyVaultClientBase {
Observable> backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName);
/**
- * Restores a backed up secret to a vault. Authorization: requires the secrets/restore permission.
+ * Restores a backed up secret to a vault.
+ * Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretBundleBackup The backup blob associated with a secret bundle.
@@ -2193,7 +2255,8 @@ public interface KeyVaultClientBase {
SecretBundle restoreSecret(String vaultBaseUrl, byte[] secretBundleBackup);
/**
- * Restores a backed up secret to a vault. Authorization: requires the secrets/restore permission.
+ * Restores a backed up secret to a vault.
+ * Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretBundleBackup The backup blob associated with a secret bundle.
@@ -2204,7 +2267,8 @@ public interface KeyVaultClientBase {
ServiceFuture restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, final ServiceCallback serviceCallback);
/**
- * Restores a backed up secret to a vault. Authorization: requires the secrets/restore permission.
+ * Restores a backed up secret to a vault.
+ * Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretBundleBackup The backup blob associated with a secret bundle.
@@ -2214,7 +2278,8 @@ public interface KeyVaultClientBase {
Observable restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup);
/**
- * Restores a backed up secret to a vault. Authorization: requires the secrets/restore permission.
+ * Restores a backed up secret to a vault.
+ * Restores a backed up secret, and all its versions, to a vault. This operation requires the secrets/restore permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param secretBundleBackup The backup blob associated with a secret bundle.
@@ -2225,7 +2290,7 @@ public interface KeyVaultClientBase {
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2237,7 +2302,7 @@ public interface KeyVaultClientBase {
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -2248,7 +2313,7 @@ public interface KeyVaultClientBase {
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2258,7 +2323,7 @@ public interface KeyVaultClientBase {
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2267,54 +2332,58 @@ public interface KeyVaultClientBase {
Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl);
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList<CertificateItem> object if successful.
*/
- PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults);
+ PagedList getCertificates(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending);
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
+ ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback serviceCallback);
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<CertificateItem> object
*/
- Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults);
+ Observable> getCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending);
/**
* List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * The GetCertificates operation returns the set of certificates resources in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<CertificateItem> object
*/
- Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
+ Observable>> getCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending);
/**
* Deletes a certificate from a specified key vault.
- * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object.
+ * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2327,7 +2396,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a certificate from a specified key vault.
- * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object.
+ * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2339,7 +2408,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a certificate from a specified key vault.
- * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object.
+ * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2350,7 +2419,7 @@ public interface KeyVaultClientBase {
/**
* Deletes a certificate from a specified key vault.
- * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object.
+ * Deletes all versions of a certificate object along with its associated policy. Delete certificate cannot be used to remove individual versions of a certificate object. This operation requires the certificates/delete permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2361,7 +2430,7 @@ public interface KeyVaultClientBase {
/**
* Sets the certificate contacts for the specified key vault.
- * Sets the certificate contacts for the specified key vault. Authorization: requires the certificates/managecontacts permission.
+ * Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param contacts The contacts for the key vault certificate.
@@ -2374,7 +2443,7 @@ public interface KeyVaultClientBase {
/**
* Sets the certificate contacts for the specified key vault.
- * Sets the certificate contacts for the specified key vault. Authorization: requires the certificates/managecontacts permission.
+ * Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param contacts The contacts for the key vault certificate.
@@ -2386,7 +2455,7 @@ public interface KeyVaultClientBase {
/**
* Sets the certificate contacts for the specified key vault.
- * Sets the certificate contacts for the specified key vault. Authorization: requires the certificates/managecontacts permission.
+ * Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param contacts The contacts for the key vault certificate.
@@ -2397,7 +2466,7 @@ public interface KeyVaultClientBase {
/**
* Sets the certificate contacts for the specified key vault.
- * Sets the certificate contacts for the specified key vault. Authorization: requires the certificates/managecontacts permission.
+ * Sets the certificate contacts for the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param contacts The contacts for the key vault certificate.
@@ -2408,7 +2477,7 @@ public interface KeyVaultClientBase {
/**
* Lists the certificate contacts for a specified key vault.
- * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault.
+ * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2420,7 +2489,7 @@ public interface KeyVaultClientBase {
/**
* Lists the certificate contacts for a specified key vault.
- * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault.
+ * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -2431,7 +2500,7 @@ public interface KeyVaultClientBase {
/**
* Lists the certificate contacts for a specified key vault.
- * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault.
+ * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2441,7 +2510,7 @@ public interface KeyVaultClientBase {
/**
* Lists the certificate contacts for a specified key vault.
- * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault.
+ * The GetCertificateContacts operation returns the set of certificate contact resources in the specified key vault. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2451,7 +2520,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the certificate contacts for a specified key vault.
- * Deletes the certificate contacts for a specified key vault certificate. Authorization: requires the certificates/managecontacts permission.
+ * Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2463,7 +2532,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the certificate contacts for a specified key vault.
- * Deletes the certificate contacts for a specified key vault certificate. Authorization: requires the certificates/managecontacts permission.
+ * Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -2474,7 +2543,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the certificate contacts for a specified key vault.
- * Deletes the certificate contacts for a specified key vault certificate. Authorization: requires the certificates/managecontacts permission.
+ * Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2484,7 +2553,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the certificate contacts for a specified key vault.
- * Deletes the certificate contacts for a specified key vault certificate. Authorization: requires the certificates/managecontacts permission.
+ * Deletes the certificate contacts for a specified key vault certificate. This operation requires the certificates/managecontacts permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2494,7 +2563,7 @@ public interface KeyVaultClientBase {
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2506,7 +2575,7 @@ public interface KeyVaultClientBase {
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -2517,7 +2586,7 @@ public interface KeyVaultClientBase {
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2527,7 +2596,7 @@ public interface KeyVaultClientBase {
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -2536,7 +2605,7 @@ public interface KeyVaultClientBase {
Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl);
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -2549,7 +2618,7 @@ public interface KeyVaultClientBase {
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -2561,7 +2630,7 @@ public interface KeyVaultClientBase {
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -2572,7 +2641,7 @@ public interface KeyVaultClientBase {
/**
* List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
@@ -2583,7 +2652,7 @@ public interface KeyVaultClientBase {
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2597,7 +2666,7 @@ public interface KeyVaultClientBase {
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2610,7 +2679,7 @@ public interface KeyVaultClientBase {
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2622,7 +2691,7 @@ public interface KeyVaultClientBase {
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2633,7 +2702,7 @@ public interface KeyVaultClientBase {
Observable> setCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName, String provider);
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2650,7 +2719,7 @@ public interface KeyVaultClientBase {
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2666,7 +2735,7 @@ public interface KeyVaultClientBase {
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2681,7 +2750,7 @@ public interface KeyVaultClientBase {
/**
* Sets the specified certificate issuer.
- * The SetCertificateIssuer operation adds or updates the specified certificate issuer.
+ * The SetCertificateIssuer operation adds or updates the specified certificate issuer. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2696,7 +2765,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2709,7 +2778,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2721,7 +2790,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2732,7 +2801,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2742,7 +2811,7 @@ public interface KeyVaultClientBase {
Observable> updateCertificateIssuerWithServiceResponseAsync(String vaultBaseUrl, String issuerName);
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2759,7 +2828,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2775,7 +2844,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2790,7 +2859,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified certificate issuer.
- * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity.
+ * The UpdateCertificateIssuer operation performs an update on the specified certificate issuer entity. This operation requires the certificates/setissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2805,7 +2874,7 @@ public interface KeyVaultClientBase {
/**
* Lists the specified certificate issuer.
- * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2818,7 +2887,7 @@ public interface KeyVaultClientBase {
/**
* Lists the specified certificate issuer.
- * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2830,7 +2899,7 @@ public interface KeyVaultClientBase {
/**
* Lists the specified certificate issuer.
- * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2841,7 +2910,7 @@ public interface KeyVaultClientBase {
/**
* Lists the specified certificate issuer.
- * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault.
+ * The GetCertificateIssuer operation returns the specified certificate issuer resources in the specified key vault. This operation requires the certificates/manageissuers/getissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2852,7 +2921,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the specified certificate issuer.
- * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault.
+ * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2865,7 +2934,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the specified certificate issuer.
- * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault.
+ * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2877,7 +2946,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the specified certificate issuer.
- * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault.
+ * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2888,7 +2957,7 @@ public interface KeyVaultClientBase {
/**
* Deletes the specified certificate issuer.
- * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault.
+ * The DeleteCertificateIssuer operation permanently removes the specified certificate issuer from the vault. This operation requires the certificates/manageissuers/deleteissuers permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param issuerName The name of the issuer.
@@ -2899,7 +2968,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2912,7 +2981,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2924,7 +2993,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2935,7 +3004,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2945,7 +3014,7 @@ public interface KeyVaultClientBase {
Observable> createCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName);
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2961,7 +3030,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2976,7 +3045,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -2990,7 +3059,7 @@ public interface KeyVaultClientBase {
/**
* Creates a new certificate.
- * If this is the first version, the certificate resource is created.
+ * If this is the first version, the certificate resource is created. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3004,7 +3073,7 @@ public interface KeyVaultClientBase {
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3018,7 +3087,7 @@ public interface KeyVaultClientBase {
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3031,7 +3100,7 @@ public interface KeyVaultClientBase {
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3043,7 +3112,7 @@ public interface KeyVaultClientBase {
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3054,7 +3123,7 @@ public interface KeyVaultClientBase {
Observable> importCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String base64EncodedCertificate);
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3072,7 +3141,7 @@ public interface KeyVaultClientBase {
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3089,7 +3158,7 @@ public interface KeyVaultClientBase {
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3105,7 +3174,7 @@ public interface KeyVaultClientBase {
/**
* Imports a certificate into a specified key vault.
- * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates.
+ * Imports an existing valid certificate, containing a private key, into Azure Key Vault. The certificate to be imported can be in either PFX or PEM format. If the certificate is in PEM format the PEM file must contain the key as well as x509 certificates. This operation requires the certificates/import permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3121,7 +3190,7 @@ public interface KeyVaultClientBase {
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3134,7 +3203,7 @@ public interface KeyVaultClientBase {
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3146,7 +3215,7 @@ public interface KeyVaultClientBase {
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3157,7 +3226,7 @@ public interface KeyVaultClientBase {
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3167,7 +3236,7 @@ public interface KeyVaultClientBase {
Observable>> getCertificateVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String certificateName);
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3181,7 +3250,7 @@ public interface KeyVaultClientBase {
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3194,7 +3263,7 @@ public interface KeyVaultClientBase {
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3206,7 +3275,7 @@ public interface KeyVaultClientBase {
/**
* List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault. This operation requires the certificates/list permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3218,7 +3287,7 @@ public interface KeyVaultClientBase {
/**
* Lists the policy for a certificate.
- * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault.
+ * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in a given key vault.
@@ -3231,7 +3300,7 @@ public interface KeyVaultClientBase {
/**
* Lists the policy for a certificate.
- * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault.
+ * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in a given key vault.
@@ -3243,7 +3312,7 @@ public interface KeyVaultClientBase {
/**
* Lists the policy for a certificate.
- * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault.
+ * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in a given key vault.
@@ -3254,7 +3323,7 @@ public interface KeyVaultClientBase {
/**
* Lists the policy for a certificate.
- * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault.
+ * The GetCertificatePolicy operation returns the specified certificate policy resources in the specified key vault. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in a given key vault.
@@ -3265,7 +3334,7 @@ public interface KeyVaultClientBase {
/**
* Updates the policy for a certificate.
- * Set specified members in the certificate policy. Leave others as null.
+ * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3279,7 +3348,7 @@ public interface KeyVaultClientBase {
/**
* Updates the policy for a certificate.
- * Set specified members in the certificate policy. Leave others as null.
+ * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3292,7 +3361,7 @@ public interface KeyVaultClientBase {
/**
* Updates the policy for a certificate.
- * Set specified members in the certificate policy. Leave others as null.
+ * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3304,7 +3373,7 @@ public interface KeyVaultClientBase {
/**
* Updates the policy for a certificate.
- * Set specified members in the certificate policy. Leave others as null.
+ * Set specified members in the certificate policy. Leave others as null. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3316,7 +3385,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3330,7 +3399,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3343,7 +3412,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3355,7 +3424,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3366,7 +3435,7 @@ public interface KeyVaultClientBase {
Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion);
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3383,7 +3452,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3399,7 +3468,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3414,7 +3483,7 @@ public interface KeyVaultClientBase {
/**
* Updates the specified attributes associated with the given certificate.
- * The UpdateCertificate operation applies the specified update on the given certificate; note the only elements being updated are the certificate's attributes.
+ * The UpdateCertificate operation applies the specified update on the given certificate; the only elements updated are the certificate's attributes. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given key vault.
@@ -3428,7 +3497,8 @@ public interface KeyVaultClientBase {
Observable> updateCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion, CertificatePolicy certificatePolicy, CertificateAttributes certificateAttributes, Map tags);
/**
- * Gets information about a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets information about a certificate.
+ * Gets information about a specific certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3441,7 +3511,8 @@ public interface KeyVaultClientBase {
CertificateBundle getCertificate(String vaultBaseUrl, String certificateName, String certificateVersion);
/**
- * Gets information about a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets information about a certificate.
+ * Gets information about a specific certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3453,7 +3524,8 @@ public interface KeyVaultClientBase {
ServiceFuture getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion, final ServiceCallback serviceCallback);
/**
- * Gets information about a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets information about a certificate.
+ * Gets information about a specific certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3464,7 +3536,8 @@ public interface KeyVaultClientBase {
Observable getCertificateAsync(String vaultBaseUrl, String certificateName, String certificateVersion);
/**
- * Gets information about a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets information about a certificate.
+ * Gets information about a specific certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate in the given vault.
@@ -3475,7 +3548,8 @@ public interface KeyVaultClientBase {
Observable> getCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, String certificateVersion);
/**
- * Updates a certificate operation. Authorization: requires the certificates/update permission.
+ * Updates a certificate operation.
+ * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3488,7 +3562,8 @@ public interface KeyVaultClientBase {
CertificateOperation updateCertificateOperation(String vaultBaseUrl, String certificateName, boolean cancellationRequested);
/**
- * Updates a certificate operation. Authorization: requires the certificates/update permission.
+ * Updates a certificate operation.
+ * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3500,7 +3575,8 @@ public interface KeyVaultClientBase {
ServiceFuture updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested, final ServiceCallback serviceCallback);
/**
- * Updates a certificate operation. Authorization: requires the certificates/update permission.
+ * Updates a certificate operation.
+ * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3511,7 +3587,8 @@ public interface KeyVaultClientBase {
Observable updateCertificateOperationAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested);
/**
- * Updates a certificate operation. Authorization: requires the certificates/update permission.
+ * Updates a certificate operation.
+ * Updates a certificate creation operation that is already in progress. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3522,7 +3599,8 @@ public interface KeyVaultClientBase {
Observable> updateCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName, boolean cancellationRequested);
/**
- * Gets the operation associated with a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets the creation operation of a certificate.
+ * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3534,7 +3612,8 @@ public interface KeyVaultClientBase {
CertificateOperation getCertificateOperation(String vaultBaseUrl, String certificateName);
/**
- * Gets the operation associated with a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets the creation operation of a certificate.
+ * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3545,7 +3624,8 @@ public interface KeyVaultClientBase {
ServiceFuture getCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback);
/**
- * Gets the operation associated with a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets the creation operation of a certificate.
+ * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3555,7 +3635,8 @@ public interface KeyVaultClientBase {
Observable getCertificateOperationAsync(String vaultBaseUrl, String certificateName);
/**
- * Gets the operation associated with a specified certificate. Authorization: requires the certificates/get permission.
+ * Gets the creation operation of a certificate.
+ * Gets the creation operation associated with a specified certificate. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3565,7 +3646,8 @@ public interface KeyVaultClientBase {
Observable> getCertificateOperationWithServiceResponseAsync(String vaultBaseUrl, String certificateName);
/**
- * Deletes the operation for a specified certificate. Authorization: requires the certificates/update permission.
+ * Deletes the creation operation for a specific certificate.
+ * Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3577,7 +3659,8 @@ public interface KeyVaultClientBase {
CertificateOperation deleteCertificateOperation(String vaultBaseUrl, String certificateName);
/**
- * Deletes the operation for a specified certificate. Authorization: requires the certificates/update permission.
+ * Deletes the creation operation for a specific certificate.
+ * Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3588,7 +3671,8 @@ public interface KeyVaultClientBase {
ServiceFuture deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback);
/**
- * Deletes the operation for a specified certificate. Authorization: requires the certificates/update permission.
+ * Deletes the creation operation for a specific certificate.
+ * Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3598,7 +3682,8 @@ public interface KeyVaultClientBase {
Observable deleteCertificateOperationAsync(String vaultBaseUrl, String certificateName);
/**
- * Deletes the operation for a specified certificate. Authorization: requires the certificates/update permission.
+ * Deletes the creation operation for a specific certificate.
+ * Deletes the creation operation for a specified certificate that is in the process of being created. The certificate is no longer created. This operation requires the certificates/update permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3609,7 +3694,7 @@ public interface KeyVaultClientBase {
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3623,7 +3708,7 @@ public interface KeyVaultClientBase {
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3636,7 +3721,7 @@ public interface KeyVaultClientBase {
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3648,7 +3733,7 @@ public interface KeyVaultClientBase {
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3659,7 +3744,7 @@ public interface KeyVaultClientBase {
Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates);
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3675,7 +3760,7 @@ public interface KeyVaultClientBase {
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3690,7 +3775,7 @@ public interface KeyVaultClientBase {
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3704,7 +3789,7 @@ public interface KeyVaultClientBase {
/**
* Merges a certificate or a certificate chain with a key pair existing on the server.
- * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. Authorization: requires the certificates/update permission.
+ * The MergeCertificate operation performs the merging of a certificate or certificate chain with a key pair currently available in the service. This operation requires the certificates/create permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate.
@@ -3717,8 +3802,8 @@ public interface KeyVaultClientBase {
Observable> mergeCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName, List x509Certificates, CertificateAttributes certificateAttributes, Map tags);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -3729,8 +3814,8 @@ public interface KeyVaultClientBase {
PagedList getDeletedCertificates(final String vaultBaseUrl);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
@@ -3740,8 +3825,8 @@ public interface KeyVaultClientBase {
ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -3750,8 +3835,8 @@ public interface KeyVaultClientBase {
Observable> getDeletedCertificatesAsync(final String vaultBaseUrl);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
@@ -3759,55 +3844,59 @@ public interface KeyVaultClientBase {
*/
Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
* @return the PagedList<DeletedCertificateItem> object if successful.
*/
- PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults);
+ PagedList getDeletedCertificates(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
+ ServiceFuture> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending, final ListOperationCallback serviceCallback);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<DeletedCertificateItem> object
*/
- Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults);
+ Observable> getDeletedCertificatesAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Lists the deleted certificates in the specified vault currently available for recovery.
+ * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging. This operation includes deletion-specific information. This operation requires the certificates/get/list permission. This operation can only be enabled on soft-delete enabled vaults.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param includePending Specifies whether to include certificates which are not completely provisioned.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the observable to the PagedList<DeletedCertificateItem> object
*/
- Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
+ Observable>> getDeletedCertificatesWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults, final Boolean includePending);
/**
* Retrieves information about the specified deleted certificate.
- * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level.
+ * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3820,7 +3909,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves information about the specified deleted certificate.
- * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level.
+ * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3832,7 +3921,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves information about the specified deleted certificate.
- * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level.
+ * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3843,7 +3932,7 @@ public interface KeyVaultClientBase {
/**
* Retrieves information about the specified deleted certificate.
- * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level.
+ * The GetDeletedCertificate operation retrieves the deleted certificate information plus its attributes, such as retention interval, scheduled permanent deletion and the current deletion recovery level. This operation requires the certificates/get permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3854,7 +3943,7 @@ public interface KeyVaultClientBase {
/**
* Permanently deletes the specified deleted certificate.
- * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. Requires the explicit granting of the 'purge' permission.
+ * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3866,7 +3955,7 @@ public interface KeyVaultClientBase {
/**
* Permanently deletes the specified deleted certificate.
- * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. Requires the explicit granting of the 'purge' permission.
+ * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3878,7 +3967,7 @@ public interface KeyVaultClientBase {
/**
* Permanently deletes the specified deleted certificate.
- * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. Requires the explicit granting of the 'purge' permission.
+ * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3889,7 +3978,7 @@ public interface KeyVaultClientBase {
/**
* Permanently deletes the specified deleted certificate.
- * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. Requires the explicit granting of the 'purge' permission.
+ * The PurgeDeletedCertificate operation performs an irreversible deletion of the specified certificate, without possibility for recovery. The operation is not available if the recovery level does not specify 'Purgeable'. This operation requires the certificate/purge permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the certificate
@@ -3900,7 +3989,7 @@ public interface KeyVaultClientBase {
/**
* Recovers the deleted certificate back to its current version under /certificates.
- * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes).
+ * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the deleted certificate
@@ -3913,7 +4002,7 @@ public interface KeyVaultClientBase {
/**
* Recovers the deleted certificate back to its current version under /certificates.
- * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes).
+ * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the deleted certificate
@@ -3925,7 +4014,7 @@ public interface KeyVaultClientBase {
/**
* Recovers the deleted certificate back to its current version under /certificates.
- * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes).
+ * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the deleted certificate
@@ -3936,7 +4025,7 @@ public interface KeyVaultClientBase {
/**
* Recovers the deleted certificate back to its current version under /certificates.
- * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes).
+ * The RecoverDeletedCertificate operation performs the reversal of the Delete operation. The operation is applicable in vaults enabled for soft-delete, and must be issued during the retention interval (available in the deleted certificate's attributes). This operation requires the certificates/recover permission.
*
* @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param certificateName The name of the deleted certificate
@@ -3946,435 +4035,1994 @@ public interface KeyVaultClientBase {
Observable> recoverDeletedCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName);
/**
- * Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<KeyItem> object if successful.
+ * @return the PagedList<StorageAccountItem> object if successful.
*/
- PagedList getKeyVersionsNext(final String nextPageLink);
+ PagedList getStorageAccounts(final String vaultBaseUrl);
/**
- * Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getKeyVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
/**
- * Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
+ * @return the observable to the PagedList<StorageAccountItem> object
*/
- Observable> getKeyVersionsNextAsync(final String nextPageLink);
+ Observable> getStorageAccountsAsync(final String vaultBaseUrl);
/**
- * Retrieves a list of individual key versions with the same key name.
- * The full key identifier, attributes, and tags are provided in the response.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
+ * @return the observable to the PagedList<StorageAccountItem> object
*/
- Observable>> getKeyVersionsNextWithServiceResponseAsync(final String nextPageLink);
-
+ Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl);
/**
- * List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<KeyItem> object if successful.
+ * @return the PagedList<StorageAccountItem> object if successful.
*/
- PagedList getKeysNext(final String nextPageLink);
+ PagedList getStorageAccounts(final String vaultBaseUrl, final Integer maxresults);
/**
- * List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
/**
- * List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
+ * @return the observable to the PagedList<StorageAccountItem> object
*/
- Observable> getKeysNextAsync(final String nextPageLink);
+ Observable> getStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults);
/**
- * List keys in the specified vault.
- * Retrieves a list of the keys in the Key Vault as JSON Web Key structures that contain the public part of a stored key. The LIST operation is applicable to all key types, however only the base key identifier,attributes, and tags are provided in the response. Individual versions of a key are not listed in the response. Authorization: Requires the keys/list permission.
+ * List storage accounts managed by the specified key vault. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
+ * @return the observable to the PagedList<StorageAccountItem> object
*/
- Observable>> getKeysNextWithServiceResponseAsync(final String nextPageLink);
+ Observable>> getStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<DeletedKeyItem> object if successful.
+ * @return the PagedList<DeletedStorageAccountItem> object if successful.
*/
- PagedList getDeletedKeysNext(final String nextPageLink);
+ PagedList getDeletedStorageAccounts(final String vaultBaseUrl);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getDeletedKeysNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedKeyItem> object
+ * @return the observable to the PagedList<DeletedStorageAccountItem> object
*/
- Observable> getDeletedKeysNextAsync(final String nextPageLink);
+ Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl);
/**
- * List deleted keys in the specified vault. Authorization: Requires the keys/list permission.
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedKeyItem> object
+ * @return the observable to the PagedList<DeletedStorageAccountItem> object
*/
- Observable>> getDeletedKeysNextWithServiceResponseAsync(final String nextPageLink);
+ Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl);
+ /**
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws KeyVaultErrorException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the PagedList<DeletedStorageAccountItem> object if successful.
+ */
+ PagedList getDeletedStorageAccounts(final String vaultBaseUrl, final Integer maxresults);
/**
- * List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceFuture} object
+ */
+ ServiceFuture> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
+
+ /**
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the PagedList<DeletedStorageAccountItem> object
+ */
+ Observable> getDeletedStorageAccountsAsync(final String vaultBaseUrl, final Integer maxresults);
+
+ /**
+ * Lists deleted storage accounts for the specified vault.
+ * The Get Deleted Storage Accounts operation returns the storage accounts that have been deleted for a vault enabled for soft-delete. This operation requires the storage/list permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param maxresults Maximum number of results to return in a page. If not specified the service will return up to 25 results.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the PagedList<DeletedStorageAccountItem> object
+ */
+ Observable>> getDeletedStorageAccountsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
+
+ /**
+ * Gets the specified deleted storage account.
+ * The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<SecretItem> object if successful.
+ * @return the DeletedStorageBundle object if successful.
*/
- PagedList getSecretsNext(final String nextPageLink);
+ DeletedStorageBundle getDeletedStorageAccount(String vaultBaseUrl, String storageAccountName);
/**
- * List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * Gets the specified deleted storage account.
+ * The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback);
/**
- * List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * Gets the specified deleted storage account.
+ * The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<SecretItem> object
+ * @return the observable to the DeletedStorageBundle object
*/
- Observable> getSecretsNextAsync(final String nextPageLink);
+ Observable getDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List secrets in a specified key vault.
- * The LIST operation is applicable to the entire vault, however only the base secret identifier and attributes are provided in the response. Individual secret versions are not listed in the response.
+ * Gets the specified deleted storage account.
+ * The Get Deleted Storage Account operation returns the specified deleted storage account along with its attributes. This operation requires the storage/get permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<SecretItem> object
+ * @return the observable to the DeletedStorageBundle object
*/
- Observable>> getSecretsNextWithServiceResponseAsync(final String nextPageLink);
+ Observable> getDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * Permanently deletes the specified storage account.
+ * The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<SecretItem> object if successful.
*/
- PagedList getSecretVersionsNext(final String nextPageLink);
+ void purgeDeletedStorgeAccount(String vaultBaseUrl, String storageAccountName);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * Permanently deletes the specified storage account.
+ * The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getSecretVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture purgeDeletedStorgeAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * Permanently deletes the specified storage account.
+ * The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<SecretItem> object
+ * @return the {@link ServiceResponse} object if successful.
*/
- Observable> getSecretVersionsNextAsync(final String nextPageLink);
+ Observable purgeDeletedStorgeAccountAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List the versions of the specified secret.
- * The LIST VERSIONS operation can be applied to all versions having the same secret name in the same key vault. The full secret identifier and attributes are provided in the response. No values are returned for the secrets and only current versions of a secret are listed.
+ * Permanently deletes the specified storage account.
+ * The purge deleted storage account operation removes the secret permanently, without the possibility of recovery. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/purge permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<SecretItem> object
+ * @return the {@link ServiceResponse} object if successful.
*/
- Observable>> getSecretVersionsNextWithServiceResponseAsync(final String nextPageLink);
+ Observable> purgeDeletedStorgeAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Recovers the deleted storage account.
+ * Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<DeletedSecretItem> object if successful.
+ * @return the StorageBundle object if successful.
*/
- PagedList getDeletedSecretsNext(final String nextPageLink);
+ StorageBundle recoverDeletedStorageAccount(String vaultBaseUrl, String storageAccountName);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Recovers the deleted storage account.
+ * Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getDeletedSecretsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Recovers the deleted storage account.
+ * Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedSecretItem> object
+ * @return the observable to the StorageBundle object
*/
- Observable> getDeletedSecretsNextAsync(final String nextPageLink);
+ Observable recoverDeletedStorageAccountAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List deleted secrets in the specified vault. Authorization: requires the secrets/list permission.
+ * Recovers the deleted storage account.
+ * Recovers the deleted storage account in the specified vault. This operation can only be performed on a soft-delete enabled vault. This operation requires the storage/recover permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedSecretItem> object
+ * @return the observable to the StorageBundle object
*/
- Observable>> getDeletedSecretsNextWithServiceResponseAsync(final String nextPageLink);
+ Observable> recoverDeletedStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * Backs up the specified storage account.
+ * Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<CertificateItem> object if successful.
+ * @return the BackupStorageResult object if successful.
*/
- PagedList getCertificatesNext(final String nextPageLink);
+ BackupStorageResult backupStorageAccount(String vaultBaseUrl, String storageAccountName);
/**
- * List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * Backs up the specified storage account.
+ * Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback);
/**
- * List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * Backs up the specified storage account.
+ * Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateItem> object
+ * @return the observable to the BackupStorageResult object
*/
- Observable> getCertificatesNextAsync(final String nextPageLink);
+ Observable backupStorageAccountAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List certificates in a specified key vault.
- * The GetCertificates operation returns the set of certificates resources in the specified key vault.
+ * Backs up the specified storage account.
+ * Requests that a backup of the specified storage account be downloaded to the client. This operation requires the storage/backup permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateItem> object
+ * @return the observable to the BackupStorageResult object
*/
- Observable>> getCertificatesNextWithServiceResponseAsync(final String nextPageLink);
+ Observable> backupStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * Restores a backed up storage account to a vault.
+ * Restores a backed up storage account to a vault. This operation requires the storage/restore permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageBundleBackup The backup blob associated with a storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<CertificateIssuerItem> object if successful.
+ * @return the StorageBundle object if successful.
*/
- PagedList getCertificateIssuersNext(final String nextPageLink);
+ StorageBundle restoreStorageAccount(String vaultBaseUrl, byte[] storageBundleBackup);
/**
- * List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * Restores a backed up storage account to a vault.
+ * Restores a backed up storage account to a vault. This operation requires the storage/restore permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageBundleBackup The backup blob associated with a storage account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getCertificateIssuersNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup, final ServiceCallback serviceCallback);
/**
- * List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * Restores a backed up storage account to a vault.
+ * Restores a backed up storage account to a vault. This operation requires the storage/restore permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageBundleBackup The backup blob associated with a storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateIssuerItem> object
+ * @return the observable to the StorageBundle object
*/
- Observable> getCertificateIssuersNextAsync(final String nextPageLink);
+ Observable restoreStorageAccountAsync(String vaultBaseUrl, byte[] storageBundleBackup);
/**
- * List certificate issuers for a specified key vault.
- * The GetCertificateIssuers operation returns the set of certificate issuer resources in the specified key vault.
+ * Restores a backed up storage account to a vault.
+ * Restores a backed up storage account to a vault. This operation requires the storage/restore permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageBundleBackup The backup blob associated with a storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateIssuerItem> object
+ * @return the observable to the StorageBundle object
*/
- Observable>> getCertificateIssuersNextWithServiceResponseAsync(final String nextPageLink);
+ Observable> restoreStorageAccountWithServiceResponseAsync(String vaultBaseUrl, byte[] storageBundleBackup);
/**
- * List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * Deletes a storage account. This operation requires the storage/delete permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<CertificateItem> object if successful.
+ * @return the DeletedStorageBundle object if successful.
*/
- PagedList getCertificateVersionsNext(final String nextPageLink);
+ DeletedStorageBundle deleteStorageAccount(String vaultBaseUrl, String storageAccountName);
/**
- * List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * Deletes a storage account. This operation requires the storage/delete permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getCertificateVersionsNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback);
/**
- * List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * Deletes a storage account. This operation requires the storage/delete permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateItem> object
+ * @return the observable to the DeletedStorageBundle object
*/
- Observable> getCertificateVersionsNextAsync(final String nextPageLink);
+ Observable deleteStorageAccountAsync(String vaultBaseUrl, String storageAccountName);
/**
- * List the versions of a certificate.
- * The GetCertificateVersions operation returns the versions of a certificate in the specified key vault.
+ * Deletes a storage account. This operation requires the storage/delete permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateItem> object
+ * @return the observable to the DeletedStorageBundle object
*/
- Observable>> getCertificateVersionsNextWithServiceResponseAsync(final String nextPageLink);
+ Observable> deleteStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Gets information about a specified storage account. This operation requires the storage/get permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @throws KeyVaultErrorException thrown if the request is rejected by server
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
- * @return the PagedList<DeletedCertificateItem> object if successful.
+ * @return the StorageBundle object if successful.
*/
- PagedList getDeletedCertificatesNext(final String nextPageLink);
+ StorageBundle getStorageAccount(String vaultBaseUrl, String storageAccountName);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Gets information about a specified storage account. This operation requires the storage/get permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
- * @param serviceFuture the ServiceFuture object tracking the Retrofit calls
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @param serviceCallback the async ServiceCallback to handle successful and failed responses.
* @throws IllegalArgumentException thrown if parameters fail the validation
* @return the {@link ServiceFuture} object
*/
- ServiceFuture> getDeletedCertificatesNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback);
+ ServiceFuture getStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Gets information about a specified storage account. This operation requires the storage/get permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedCertificateItem> object
+ * @return the observable to the StorageBundle object
*/
- Observable> getDeletedCertificatesNextAsync(final String nextPageLink);
+ Observable getStorageAccountAsync(String vaultBaseUrl, String storageAccountName);
/**
- * Lists the deleted certificates in the specified vault, currently available for recovery.
- * The GetDeletedCertificates operation retrieves the certificates in the current vault which are in a deleted state and ready for recovery or purging.
+ * Gets information about a specified storage account. This operation requires the storage/get permission.
*
- * @param nextPageLink The NextLink from the previous successful call to List operation.
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
* @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedCertificateItem> object
+ * @return the observable to the StorageBundle object
*/
- Observable>> getDeletedCertificatesNextWithServiceResponseAsync(final String nextPageLink);
+ Observable> getStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName);
+
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws KeyVaultErrorException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the StorageBundle object if successful.
+ */
+ StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey);
+
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceFuture} object
+ */
+ ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, final ServiceCallback serviceCallback);
+
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the StorageBundle object
+ */
+ Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey);
+
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the StorageBundle object
+ */
+ Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey);
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format.
+ * @param storageAccountAttributes The attributes of the storage account.
+ * @param tags Application specific metadata in the form of key-value pairs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws KeyVaultErrorException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the StorageBundle object if successful.
+ */
+ StorageBundle setStorageAccount(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags);
+
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format.
+ * @param storageAccountAttributes The attributes of the storage account.
+ * @param tags Application specific metadata in the form of key-value pairs.
+ * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceFuture} object
+ */
+ ServiceFuture setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback serviceCallback);
+
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format.
+ * @param storageAccountAttributes The attributes of the storage account.
+ * @param tags Application specific metadata in the form of key-value pairs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the StorageBundle object
+ */
+ Observable setStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags);
+
+ /**
+ * Creates or updates a new storage account. This operation requires the storage/set permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param resourceId Storage account resource id.
+ * @param activeKeyName Current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format.
+ * @param storageAccountAttributes The attributes of the storage account.
+ * @param tags Application specific metadata in the form of key-value pairs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the StorageBundle object
+ */
+ Observable> setStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName, String resourceId, String activeKeyName, boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags);
+
+ /**
+ * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws KeyVaultErrorException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the StorageBundle object if successful.
+ */
+ StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName);
+
+ /**
+ * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceFuture} object
+ */
+ ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, final ServiceCallback serviceCallback);
+
+ /**
+ * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the StorageBundle object
+ */
+ Observable updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName);
+
+ /**
+ * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the observable to the StorageBundle object
+ */
+ Observable> updateStorageAccountWithServiceResponseAsync(String vaultBaseUrl, String storageAccountName);
+ /**
+ * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param activeKeyName The current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format.
+ * @param storageAccountAttributes The attributes of the storage account.
+ * @param tags Application specific metadata in the form of key-value pairs.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @throws KeyVaultErrorException thrown if the request is rejected by server
+ * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent
+ * @return the StorageBundle object if successful.
+ */
+ StorageBundle updateStorageAccount(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags);
+
+ /**
+ * Updates the specified attributes associated with the given storage account. This operation requires the storage/set/update permission.
+ *
+ * @param vaultBaseUrl The vault name, for example https://myvault.vault.azure.net.
+ * @param storageAccountName The name of the storage account.
+ * @param activeKeyName The current active storage account key name.
+ * @param autoRegenerateKey whether keyvault should manage the storage account for the user.
+ * @param regenerationPeriod The key regeneration time duration specified in ISO-8601 format.
+ * @param storageAccountAttributes The attributes of the storage account.
+ * @param tags Application specific metadata in the form of key-value pairs.
+ * @param serviceCallback the async ServiceCallback to handle successful and failed responses.
+ * @throws IllegalArgumentException thrown if parameters fail the validation
+ * @return the {@link ServiceFuture} object
+ */
+ ServiceFuture updateStorageAccountAsync(String vaultBaseUrl, String storageAccountName, String activeKeyName, Boolean autoRegenerateKey, String regenerationPeriod, StorageAccountAttributes storageAccountAttributes, Map tags, final ServiceCallback