diff --git a/README.md b/README.md
index e321375..95768d8 100644
--- a/README.md
+++ b/README.md
@@ -15,27 +15,27 @@ To get the binaries of this library as distributed by Microsoft, ready for use w
com.microsoft.azure
azure-keyvault
- 1.1-beta-1
+ 1.1
com.microsoft.azure
azure-keyvault-cryptography
- 1.1-beta-1
+ 1.1
com.microsoft.azure
azure-keyvault-extensions
- 1.1-beta-1
+ 1.1
com.microsoft.azure
azure-keyvault-core
- 1.1-beta-1
+ 1.1
com.microsoft.azure
azure-keyvault-webkey
- 1.1-beta-1
+ 1.1
```
diff --git a/azure-keyvault-core/pom.xml b/azure-keyvault-core/pom.xml
index 3602f35..7b53f5e 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-beta-1
+ 1.1
../pom.xml
diff --git a/azure-keyvault-core/src/main/java/com/microsoft/azure/keyvault/core/IKeyResolver.java b/azure-keyvault-core/src/main/java/com/microsoft/azure/keyvault/core/IKeyResolver.java
index e0b08e9..635dd80 100644
--- a/azure-keyvault-core/src/main/java/com/microsoft/azure/keyvault/core/IKeyResolver.java
+++ b/azure-keyvault-core/src/main/java/com/microsoft/azure/keyvault/core/IKeyResolver.java
@@ -1,19 +1,7 @@
/**
- *
- * Copyright (c) Microsoft and contributors. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
*/
package com.microsoft.azure.keyvault.core;
diff --git a/azure-keyvault-cryptography/pom.xml b/azure-keyvault-cryptography/pom.xml
index eae8042..66f8eba 100644
--- a/azure-keyvault-cryptography/pom.xml
+++ b/azure-keyvault-cryptography/pom.xml
@@ -7,7 +7,7 @@
com.microsoft.azure
azure-keyvault-parent
- 1.1-beta-1
+ 1.1
../pom.xml
@@ -55,7 +55,7 @@
com.microsoft.azure
azure-keyvault-webkey
- 1.1-beta-1
+ 1.1
com.microsoft.azure
diff --git a/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/AlgorithmResolver.java b/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/AlgorithmResolver.java
index 7727041..1ac5c06 100644
--- a/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/AlgorithmResolver.java
+++ b/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/AlgorithmResolver.java
@@ -18,7 +18,7 @@
import com.microsoft.azure.keyvault.cryptography.algorithms.AesKw128;
import com.microsoft.azure.keyvault.cryptography.algorithms.AesKw192;
import com.microsoft.azure.keyvault.cryptography.algorithms.AesKw256;
-import com.microsoft.azure.keyvault.cryptography.algorithms.Ecdsa256;
+import com.microsoft.azure.keyvault.cryptography.algorithms.Es256k;
import com.microsoft.azure.keyvault.cryptography.algorithms.Es256;
import com.microsoft.azure.keyvault.cryptography.algorithms.Es384;
import com.microsoft.azure.keyvault.cryptography.algorithms.Es512;
@@ -49,7 +49,7 @@ public class AlgorithmResolver {
Default.put( Rs256.ALGORITHM_NAME, new Rs256() );
// Default.put( RsNull.ALGORITHM_NAME, new RsNull() );
- Default.put(Ecdsa256.ALGORITHM_NAME, new Ecdsa256());
+ Default.put(Es256k.ALGORITHM_NAME, new Es256k());
Default.put(Es256.ALGORITHM_NAME, new Es256());
Default.put(Es384.ALGORITHM_NAME, new Es384());
Default.put(Es512.ALGORITHM_NAME, new Es512());
diff --git a/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java b/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java
index 59d7f95..fc82ad2 100644
--- a/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java
+++ b/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/EcKey.java
@@ -27,7 +27,7 @@
import com.google.common.util.concurrent.ListenableFuture;
import com.microsoft.azure.keyvault.core.IKey;
import com.microsoft.azure.keyvault.cryptography.algorithms.Ecdsa;
-import com.microsoft.azure.keyvault.cryptography.algorithms.Ecdsa256;
+import com.microsoft.azure.keyvault.cryptography.algorithms.Es256k;
import com.microsoft.azure.keyvault.cryptography.algorithms.Es256;
import com.microsoft.azure.keyvault.cryptography.algorithms.Es384;
import com.microsoft.azure.keyvault.cryptography.algorithms.Es512;
@@ -40,18 +40,18 @@ public class EcKey implements IKey {
public static final String P256 = "secp256r1";
public static final String P384 = "secp384r1";
public static final String P521 = "secp521r1";
- public static final String SECP265K1 = "secp256k1";
+ public static final String P256K = "secp256k1";
public static final Map CURVE_TO_SIGNATURE = ImmutableMap.builder()
.put(JsonWebKeyCurveName.P_256, Es256.ALGORITHM_NAME)
.put(JsonWebKeyCurveName.P_384, Es384.ALGORITHM_NAME)
.put(JsonWebKeyCurveName.P_521, Es512.ALGORITHM_NAME)
- .put(JsonWebKeyCurveName.SECP256K1, Ecdsa256.ALGORITHM_NAME)
+ .put(JsonWebKeyCurveName.P_256K, Es256k.ALGORITHM_NAME)
.build();
public static final Map CURVE_TO_SPEC_NAME = ImmutableMap.builder()
.put(JsonWebKeyCurveName.P_256, P256)
.put(JsonWebKeyCurveName.P_384, P384)
.put(JsonWebKeyCurveName.P_521, P521)
- .put(JsonWebKeyCurveName.SECP256K1, SECP265K1)
+ .put(JsonWebKeyCurveName.P_256K, P256K)
.build();
@@ -243,7 +243,7 @@ private JsonWebKeyCurveName getCurveFromKeyPair(KeyPair keyPair) {
ECParameterSpec spec = key.getParams();
EllipticCurve crv = spec.getCurve();
- List curveList = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.SECP256K1);
+ List curveList = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.P_256K);
for (JsonWebKeyCurveName curve : curveList) {
ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(curve));
diff --git a/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Ecdsa256.java b/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256k.java
similarity index 86%
rename from azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Ecdsa256.java
rename to azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256k.java
index 7150db4..b788979 100644
--- a/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Ecdsa256.java
+++ b/azure-keyvault-cryptography/src/main/java/com/microsoft/azure/keyvault/cryptography/algorithms/Es256k.java
@@ -1,6 +1,6 @@
package com.microsoft.azure.keyvault.cryptography.algorithms;
-public class Ecdsa256 extends Ecdsa {
+public class Es256k extends Ecdsa {
public final static String ALGORITHM_NAME = "NONEwithECDSA";
@Override
diff --git a/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java b/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java
index 66b82da..748c75f 100644
--- a/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java
+++ b/azure-keyvault-cryptography/src/test/java/com/microsoft/azure/keyvault/cryptography/test/ECKeyTest.java
@@ -92,10 +92,10 @@ public static void setUpBeforeClass() throws Exception {
.put(JsonWebKeyCurveName.P_256, DIGEST_256)
.put(JsonWebKeyCurveName.P_384, DIGEST_384)
.put(JsonWebKeyCurveName.P_521, DIGEST_512)
- .put(JsonWebKeyCurveName.SECP256K1, DIGEST_256)
+ .put(JsonWebKeyCurveName.P_256K, DIGEST_256)
.build();
//JsonWebKeyCurveName.SECP256K1)
- CURVE_LIST = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.SECP256K1);
+ CURVE_LIST = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.P_256K);
}
@Test
@@ -233,7 +233,7 @@ public void testCreateSECP256K1Key() throws Exception {
final KeyPairGenerator generator = KeyPairGenerator.getInstance("EC");
generator.initialize(gps);
- EcKey key = new EcKey("akey", JsonWebKeyCurveName.SECP256K1);
+ EcKey key = new EcKey("akey", JsonWebKeyCurveName.P_256K);
}
@Test
diff --git a/azure-keyvault-extensions/pom.xml b/azure-keyvault-extensions/pom.xml
index 10e252d..03610bf 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-beta-1
+ 1.1
../pom.xml
@@ -68,24 +68,30 @@
com.microsoft.azure
azure-keyvault-core
- 1.1-beta-1
+ 1.1
com.microsoft.azure
azure-keyvault-cryptography
- 1.1-beta-1
+ 1.1
com.microsoft.azure
azure-keyvault
- 1.1-beta-1
+ 1.1
com.microsoft.azure
azure-keyvault-webkey
- 1.1-beta-1
+ 1.1
-
+
+ com.microsoft.azure
+ azure
+ 1.3.0
+ test
+
+
com.microsoft.azure
azure-mgmt-resources
1.3.1-SNAPSHOT
diff --git a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/AggregateKeyResolver.java b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/AggregateKeyResolver.java
index 30062e6..8ce09dd 100644
--- a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/AggregateKeyResolver.java
+++ b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/AggregateKeyResolver.java
@@ -1,19 +1,7 @@
/**
- *
- * Copyright (c) Microsoft and contributors. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
*/
package com.microsoft.azure.keyvault.extensions;
diff --git a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/CachingKeyResolver.java b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/CachingKeyResolver.java
index f86a98b..cfefd73 100644
--- a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/CachingKeyResolver.java
+++ b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/CachingKeyResolver.java
@@ -1,19 +1,7 @@
/**
- *
- * Copyright (c) Microsoft and contributors. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
*/
package com.microsoft.azure.keyvault.extensions;
diff --git a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKey.java b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKey.java
index d3bf97a..f903de9 100644
--- a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKey.java
+++ b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKey.java
@@ -1,21 +1,8 @@
/**
- *
- * Copyright (c) Microsoft and contributors. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
*/
-
package com.microsoft.azure.keyvault.extensions;
import java.io.IOException;
diff --git a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKeyResolver.java b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKeyResolver.java
index 7f8e778..a969082 100644
--- a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKeyResolver.java
+++ b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/KeyVaultKeyResolver.java
@@ -1,19 +1,7 @@
/**
- *
- * Copyright (c) Microsoft and contributors. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
*/
package com.microsoft.azure.keyvault.extensions;
diff --git a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/Strings.java b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/Strings.java
index 52ef356..5d5fe93 100644
--- a/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/Strings.java
+++ b/azure-keyvault-extensions/src/main/java/com/microsoft/azure/keyvault/extensions/Strings.java
@@ -1,19 +1,7 @@
/**
- *
- * Copyright (c) Microsoft and contributors. All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- *
- * See the License for the specific language governing permissions and
- * limitations under the License.
- *
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
*/
package com.microsoft.azure.keyvault.extensions;
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 2d6a291..7411b42 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "POST",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:07 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:25 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "95cde216-e2da-4851-b15c-3c5c433f7f49",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "b33299d5-0d84-429a-9863-9f71fa653e33",
"Body" : ""
}
}, {
"Method" : "POST",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:08 GMT",
- "content-length" : "665",
+ "date" : "Mon, 25 Jun 2018 21:42:26 GMT",
+ "content-length" : "674",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "e625770f-3149-40cd-befd-765a0e3832eb",
- "Body" : "{\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/9a999f58af0a409894e7cfd8b34dbd7b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"jJgyCQyX3ulhlBimUV356y4LGpuGtW6mi2nICdyFx8pa2SVUZeHCjCbRmdFHet91nXdz3TctTMYefe9UXHw_2ROHMMYbUKvpIyYjdKscFQcCf8v6gZnr5vAhRe8Ct1rfy2EwHkzWt_0eQUKVWTeK1kW7LKbQ6JOpALVQrySOLY2cQAEU7CrQ5rCodGxqu373Fp5voHp8l6pXw4x7ugOQx8RpxtOtYB2p3qf4qFTn1N4VMQIX4UJBrb8pxMjHoRzGoU-iJuDOCiK4X-Gxxm17LYhQeV77t0X68xPQUwYh95meYhALjW3cB2nNvpnDX7plDR7ndXBaU3T0zoTDa4oyLw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282688,\"updated\":1525282688,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "3c394856-1f18-486b-8a72-a0e1da379be6",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/dccd6ba8014a4ae39ac2f122499c6eca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"j1Yl305qd5uKultZ9jitFjj2NaVvElwBOk2qQGX0YeCncznmfAqk5QgwqwgUhDWKt2Ojutud3n-Ptuw8pJ4zY2je119omDo_7X3R1CBD13vqAhReNFLbZuF-pFXCPR0xRz0tQpX8kQeV4Rq5IxMR6id1XoxX7isjbBZmwSesH7inRqkM3vWSkqZkNF0V02g6YUzDajmudzH1zppPlBLXkymECXQOA_GA2LImAaBk35YSDYgeXbCqtCdkCaV4PsyPEmBTis5xM30KDrTxviVCJltM9fut6s8dJstammi4wHodZe0ZNkBu-cCKvX9DbPAvymdG3NFD5ss-nCMWSWcQUQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529962946,\"updated\":1529962946,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:08 GMT",
- "content-length" : "665",
+ "date" : "Mon, 25 Jun 2018 21:42:28 GMT",
+ "content-length" : "674",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "2b8acaef-fd6e-4ae2-9143-6bd3d4d48b59",
- "Body" : "{\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/9a999f58af0a409894e7cfd8b34dbd7b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"jJgyCQyX3ulhlBimUV356y4LGpuGtW6mi2nICdyFx8pa2SVUZeHCjCbRmdFHet91nXdz3TctTMYefe9UXHw_2ROHMMYbUKvpIyYjdKscFQcCf8v6gZnr5vAhRe8Ct1rfy2EwHkzWt_0eQUKVWTeK1kW7LKbQ6JOpALVQrySOLY2cQAEU7CrQ5rCodGxqu373Fp5voHp8l6pXw4x7ugOQx8RpxtOtYB2p3qf4qFTn1N4VMQIX4UJBrb8pxMjHoRzGoU-iJuDOCiK4X-Gxxm17LYhQeV77t0X68xPQUwYh95meYhALjW3cB2nNvpnDX7plDR7ndXBaU3T0zoTDa4oyLw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282688,\"updated\":1525282688,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "5954b38a-0273-42bf-9517-e511ccf15578",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/dccd6ba8014a4ae39ac2f122499c6eca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"j1Yl305qd5uKultZ9jitFjj2NaVvElwBOk2qQGX0YeCncznmfAqk5QgwqwgUhDWKt2Ojutud3n-Ptuw8pJ4zY2je119omDo_7X3R1CBD13vqAhReNFLbZuF-pFXCPR0xRz0tQpX8kQeV4Rq5IxMR6id1XoxX7isjbBZmwSesH7inRqkM3vWSkqZkNF0V02g6YUzDajmudzH1zppPlBLXkymECXQOA_GA2LImAaBk35YSDYgeXbCqtCdkCaV4PsyPEmBTis5xM30KDrTxviVCJltM9fut6s8dJstammi4wHodZe0ZNkBu-cCKvX9DbPAvymdG3NFD5ss-nCMWSWcQUQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529962946,\"updated\":1529962946,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/9a999f58af0a409894e7cfd8b34dbd7b?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/dccd6ba8014a4ae39ac2f122499c6eca?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:09 GMT",
- "content-length" : "665",
+ "date" : "Mon, 25 Jun 2018 21:42:30 GMT",
+ "content-length" : "674",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "1b169f12-6676-43b2-8508-ff186ae08aed",
- "Body" : "{\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/9a999f58af0a409894e7cfd8b34dbd7b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"jJgyCQyX3ulhlBimUV356y4LGpuGtW6mi2nICdyFx8pa2SVUZeHCjCbRmdFHet91nXdz3TctTMYefe9UXHw_2ROHMMYbUKvpIyYjdKscFQcCf8v6gZnr5vAhRe8Ct1rfy2EwHkzWt_0eQUKVWTeK1kW7LKbQ6JOpALVQrySOLY2cQAEU7CrQ5rCodGxqu373Fp5voHp8l6pXw4x7ugOQx8RpxtOtYB2p3qf4qFTn1N4VMQIX4UJBrb8pxMjHoRzGoU-iJuDOCiK4X-Gxxm17LYhQeV77t0X68xPQUwYh95meYhALjW3cB2nNvpnDX7plDR7ndXBaU3T0zoTDa4oyLw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282688,\"updated\":1525282688,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "0e9d2a1b-1251-403d-8471-87cbb685789c",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/dccd6ba8014a4ae39ac2f122499c6eca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"j1Yl305qd5uKultZ9jitFjj2NaVvElwBOk2qQGX0YeCncznmfAqk5QgwqwgUhDWKt2Ojutud3n-Ptuw8pJ4zY2je119omDo_7X3R1CBD13vqAhReNFLbZuF-pFXCPR0xRz0tQpX8kQeV4Rq5IxMR6id1XoxX7isjbBZmwSesH7inRqkM3vWSkqZkNF0V02g6YUzDajmudzH1zppPlBLXkymECXQOA_GA2LImAaBk35YSDYgeXbCqtCdkCaV4PsyPEmBTis5xM30KDrTxviVCJltM9fut6s8dJstammi4wHodZe0ZNkBu-cCKvX9DbPAvymdG3NFD5ss-nCMWSWcQUQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529962946,\"updated\":1529962946,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:09 GMT",
- "content-length" : "805",
+ "date" : "Mon, 25 Jun 2018 21:42:31 GMT",
+ "content-length" : "823",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,49 +127,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "0425a85f-c9f1-4709-9f8d-e9a6aa02b9f1",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1525282690,\"scheduledPurgeDate\":1533058690,\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/9a999f58af0a409894e7cfd8b34dbd7b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"jJgyCQyX3ulhlBimUV356y4LGpuGtW6mi2nICdyFx8pa2SVUZeHCjCbRmdFHet91nXdz3TctTMYefe9UXHw_2ROHMMYbUKvpIyYjdKscFQcCf8v6gZnr5vAhRe8Ct1rfy2EwHkzWt_0eQUKVWTeK1kW7LKbQ6JOpALVQrySOLY2cQAEU7CrQ5rCodGxqu373Fp5voHp8l6pXw4x7ugOQx8RpxtOtYB2p3qf4qFTn1N4VMQIX4UJBrb8pxMjHoRzGoU-iJuDOCiK4X-Gxxm17LYhQeV77t0X68xPQUwYh95meYhALjW3cB2nNvpnDX7plDR7ndXBaU3T0zoTDa4oyLw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282688,\"updated\":1525282688,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
- }
- }, {
- "Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
- "Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/json; charset=utf-8"
- },
- "Response" : {
- "date" : "Wed, 02 May 2018 17:38:10 GMT",
- "content-length" : "85",
- "server" : "Microsoft-IIS/10.0",
- "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
- "cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "feec88c6-196b-4e4d-980d-495957a9f6bc",
- "Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "5e445b91-1dbb-4c2c-9236-7020164618cc",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1529962951,\"scheduledPurgeDate\":1537738951,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/dccd6ba8014a4ae39ac2f122499c6eca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"j1Yl305qd5uKultZ9jitFjj2NaVvElwBOk2qQGX0YeCncznmfAqk5QgwqwgUhDWKt2Ojutud3n-Ptuw8pJ4zY2je119omDo_7X3R1CBD13vqAhReNFLbZuF-pFXCPR0xRz0tQpX8kQeV4Rq5IxMR6id1XoxX7isjbBZmwSesH7inRqkM3vWSkqZkNF0V02g6YUzDajmudzH1zppPlBLXkymECXQOA_GA2LImAaBk35YSDYgeXbCqtCdkCaV4PsyPEmBTis5xM30KDrTxviVCJltM9fut6s8dJstammi4wHodZe0ZNkBu-cCKvX9DbPAvymdG3NFD5ss-nCMWSWcQUQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529962946,\"updated\":1529962946,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:20 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:33 GMT",
"content-length" : "85",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -181,22 +154,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "d7df2f0c-2212-4bbd-85bc-83675ca5b3cc",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "e51c8e1d-2212-4e90-9fea-5c6f8b20d9be",
"Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:30 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:44 GMT",
"content-length" : "85",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -208,23 +181,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "ddba9700-c4df-40bb-bba5-cb1da19f3ccc",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "5078e4f6-465d-4cb9-ad74-4915df6d855c",
"Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:42 GMT",
- "content-length" : "805",
+ "date" : "Mon, 25 Jun 2018 21:42:57 GMT",
+ "content-length" : "823",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -235,22 +208,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "d852dded-13ab-4528-86ae-047bba0c3845",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1525282690,\"scheduledPurgeDate\":1533058690,\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/9a999f58af0a409894e7cfd8b34dbd7b\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"jJgyCQyX3ulhlBimUV356y4LGpuGtW6mi2nICdyFx8pa2SVUZeHCjCbRmdFHet91nXdz3TctTMYefe9UXHw_2ROHMMYbUKvpIyYjdKscFQcCf8v6gZnr5vAhRe8Ct1rfy2EwHkzWt_0eQUKVWTeK1kW7LKbQ6JOpALVQrySOLY2cQAEU7CrQ5rCodGxqu373Fp5voHp8l6pXw4x7ugOQx8RpxtOtYB2p3qf4qFTn1N4VMQIX4UJBrb8pxMjHoRzGoU-iJuDOCiK4X-Gxxm17LYhQeV77t0X68xPQUwYh95meYhALjW3cB2nNvpnDX7plDR7ndXBaU3T0zoTDa4oyLw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282688,\"updated\":1525282688,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "4dc4c494-f0b4-4fe1-8917-cd31d45ff7ff",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1529962951,\"scheduledPurgeDate\":1537738951,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/dccd6ba8014a4ae39ac2f122499c6eca\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"j1Yl305qd5uKultZ9jitFjj2NaVvElwBOk2qQGX0YeCncznmfAqk5QgwqwgUhDWKt2Ojutud3n-Ptuw8pJ4zY2je119omDo_7X3R1CBD13vqAhReNFLbZuF-pFXCPR0xRz0tQpX8kQeV4Rq5IxMR6id1XoxX7isjbBZmwSesH7inRqkM3vWSkqZkNF0V02g6YUzDajmudzH1zppPlBLXkymECXQOA_GA2LImAaBk35YSDYgeXbCqtCdkCaV4PsyPEmBTis5xM30KDrTxviVCJltM9fut6s8dJstammi4wHodZe0ZNkBu-cCKvX9DbPAvymdG3NFD5ss-nCMWSWcQUQ\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529962946,\"updated\":1529962946,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:42 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:58 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -260,11 +233,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "59807515-6eee-4262-9ef7-f79603fd4ed3",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "8ad5c8a9-cf11-4427-818d-efaa3f2bad05",
"Body" : ""
}
} ],
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 c6343ec..ffc9a93 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "POST",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:51 GMT",
+ "date" : "Mon, 25 Jun 2018 21:22:14 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "30605db1-15ef-4e2c-b782-3f60eb4d649d",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "c045ccf2-263b-4be5-bb45-cf61cdf8d191",
"Body" : ""
}
}, {
"Method" : "POST",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/create?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:51 GMT",
- "content-length" : "665",
+ "date" : "Mon, 25 Jun 2018 21:22:16 GMT",
+ "content-length" : "674",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "990745c6-05ab-41ba-87ac-1f72c9e8649b",
- "Body" : "{\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/c1abf6e1106449828fdd8deaa6871022\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"58Zcvp9HTyNxedrzyyHIgmtnMYZmd5qVUyvy2vvTNMbEbMYvU__bsz2RaLsG3t6vFU2JtWUOF8ZSvOSbe_rGK9QBOJIxcyaNgPot0kNVDUj4gEd5EKCKFgAxG9ZwKTxgMsJjP-1g5Y0Si3KovdMz_S8fjWzKzeZ6DznuhpConKQd9sGvCY6tFovrKAqLAbOAuyMePDgl4E3O5rA3MzHPXhWHQ1SZZ9ANd3jGS67q25ulymyIjU1KkRlDP18khCsq7rkSb4AjEfRxqbqxEUIOteVxrTGvun4_J0TdYTnnxkrqt3XHlferBd3kLGiqWNSsEQLMDQ0TQ7_0zI2hI2BlTw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282792,\"updated\":1525282792,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "3ab77773-2743-4cd4-b573-aa2acbfd05a1",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/93d42ad97a7842eb8925c5b4dfbea76e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0l9rjWJoKf-BnGB78pt1q_Qt43e2oEM2wE0zG8VqczMsD6H72iL_RcQZUwgIyJAZAinJQ9cUqbwz21C20rACtaPEi99uVv0cYQUnQK66F8frCrPTH_H2B2mLFk4DJs442FW3GcMt5i8kozs-Kc532g-DSTNPdz2of-MDVtF0wG0bk6V1s0Gs6tRd087goZUCre8eYUC_wc1jsivhN4z9teyHqqJQi7-3jO_PBiaBsc3NaitVMuwg797QOjMO84eO3PQnkYeCA6Jb10SThFMgbH5JXtRZOegptyrzYxPRzyah7OfVsiqHsgLMtJ9LnhLpXtc9nSXlaf20II7MP-7SUw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529961736,\"updated\":1529961736,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:52 GMT",
- "content-length" : "665",
+ "date" : "Mon, 25 Jun 2018 21:22:18 GMT",
+ "content-length" : "674",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "b11ea102-1198-4dff-8a28-82bff0da0a2c",
- "Body" : "{\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/c1abf6e1106449828fdd8deaa6871022\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"58Zcvp9HTyNxedrzyyHIgmtnMYZmd5qVUyvy2vvTNMbEbMYvU__bsz2RaLsG3t6vFU2JtWUOF8ZSvOSbe_rGK9QBOJIxcyaNgPot0kNVDUj4gEd5EKCKFgAxG9ZwKTxgMsJjP-1g5Y0Si3KovdMz_S8fjWzKzeZ6DznuhpConKQd9sGvCY6tFovrKAqLAbOAuyMePDgl4E3O5rA3MzHPXhWHQ1SZZ9ANd3jGS67q25ulymyIjU1KkRlDP18khCsq7rkSb4AjEfRxqbqxEUIOteVxrTGvun4_J0TdYTnnxkrqt3XHlferBd3kLGiqWNSsEQLMDQ0TQ7_0zI2hI2BlTw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282792,\"updated\":1525282792,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "acbca651-c8ab-47e8-bb2f-04d4d2f1eab5",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/93d42ad97a7842eb8925c5b4dfbea76e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0l9rjWJoKf-BnGB78pt1q_Qt43e2oEM2wE0zG8VqczMsD6H72iL_RcQZUwgIyJAZAinJQ9cUqbwz21C20rACtaPEi99uVv0cYQUnQK66F8frCrPTH_H2B2mLFk4DJs442FW3GcMt5i8kozs-Kc532g-DSTNPdz2of-MDVtF0wG0bk6V1s0Gs6tRd087goZUCre8eYUC_wc1jsivhN4z9teyHqqJQi7-3jO_PBiaBsc3NaitVMuwg797QOjMO84eO3PQnkYeCA6Jb10SThFMgbH5JXtRZOegptyrzYxPRzyah7OfVsiqHsgLMtJ9LnhLpXtc9nSXlaf20II7MP-7SUw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529961736,\"updated\":1529961736,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/c1abf6e1106449828fdd8deaa6871022?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/93d42ad97a7842eb8925c5b4dfbea76e?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:53 GMT",
- "content-length" : "665",
+ "date" : "Mon, 25 Jun 2018 21:22:19 GMT",
+ "content-length" : "674",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "5f2e0d03-283b-4547-8e35-a7d46e826446",
- "Body" : "{\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/c1abf6e1106449828fdd8deaa6871022\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"58Zcvp9HTyNxedrzyyHIgmtnMYZmd5qVUyvy2vvTNMbEbMYvU__bsz2RaLsG3t6vFU2JtWUOF8ZSvOSbe_rGK9QBOJIxcyaNgPot0kNVDUj4gEd5EKCKFgAxG9ZwKTxgMsJjP-1g5Y0Si3KovdMz_S8fjWzKzeZ6DznuhpConKQd9sGvCY6tFovrKAqLAbOAuyMePDgl4E3O5rA3MzHPXhWHQ1SZZ9ANd3jGS67q25ulymyIjU1KkRlDP18khCsq7rkSb4AjEfRxqbqxEUIOteVxrTGvun4_J0TdYTnnxkrqt3XHlferBd3kLGiqWNSsEQLMDQ0TQ7_0zI2hI2BlTw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282792,\"updated\":1525282792,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "34697143-5109-4df3-b36e-e8488d0a729f",
+ "Body" : "{\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/93d42ad97a7842eb8925c5b4dfbea76e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0l9rjWJoKf-BnGB78pt1q_Qt43e2oEM2wE0zG8VqczMsD6H72iL_RcQZUwgIyJAZAinJQ9cUqbwz21C20rACtaPEi99uVv0cYQUnQK66F8frCrPTH_H2B2mLFk4DJs442FW3GcMt5i8kozs-Kc532g-DSTNPdz2of-MDVtF0wG0bk6V1s0Gs6tRd087goZUCre8eYUC_wc1jsivhN4z9teyHqqJQi7-3jO_PBiaBsc3NaitVMuwg797QOjMO84eO3PQnkYeCA6Jb10SThFMgbH5JXtRZOegptyrzYxPRzyah7OfVsiqHsgLMtJ9LnhLpXtc9nSXlaf20II7MP-7SUw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529961736,\"updated\":1529961736,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:53 GMT",
- "content-length" : "805",
+ "date" : "Mon, 25 Jun 2018 21:22:19 GMT",
+ "content-length" : "823",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,22 +127,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "dd02fd81-e297-499d-8158-a24c4e635685",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1525282794,\"scheduledPurgeDate\":1533058794,\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/c1abf6e1106449828fdd8deaa6871022\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"58Zcvp9HTyNxedrzyyHIgmtnMYZmd5qVUyvy2vvTNMbEbMYvU__bsz2RaLsG3t6vFU2JtWUOF8ZSvOSbe_rGK9QBOJIxcyaNgPot0kNVDUj4gEd5EKCKFgAxG9ZwKTxgMsJjP-1g5Y0Si3KovdMz_S8fjWzKzeZ6DznuhpConKQd9sGvCY6tFovrKAqLAbOAuyMePDgl4E3O5rA3MzHPXhWHQ1SZZ9ANd3jGS67q25ulymyIjU1KkRlDP18khCsq7rkSb4AjEfRxqbqxEUIOteVxrTGvun4_J0TdYTnnxkrqt3XHlferBd3kLGiqWNSsEQLMDQ0TQ7_0zI2hI2BlTw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282792,\"updated\":1525282792,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "85fbccc4-89ce-44e2-b631-fc0742d93f56",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1529961739,\"scheduledPurgeDate\":1537737739,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/93d42ad97a7842eb8925c5b4dfbea76e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0l9rjWJoKf-BnGB78pt1q_Qt43e2oEM2wE0zG8VqczMsD6H72iL_RcQZUwgIyJAZAinJQ9cUqbwz21C20rACtaPEi99uVv0cYQUnQK66F8frCrPTH_H2B2mLFk4DJs442FW3GcMt5i8kozs-Kc532g-DSTNPdz2of-MDVtF0wG0bk6V1s0Gs6tRd087goZUCre8eYUC_wc1jsivhN4z9teyHqqJQi7-3jO_PBiaBsc3NaitVMuwg797QOjMO84eO3PQnkYeCA6Jb10SThFMgbH5JXtRZOegptyrzYxPRzyah7OfVsiqHsgLMtJ9LnhLpXtc9nSXlaf20II7MP-7SUw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529961736,\"updated\":1529961736,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:54 GMT",
+ "date" : "Mon, 25 Jun 2018 21:22:23 GMT",
"content-length" : "85",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -154,23 +154,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "c4e29724-eef3-4aff-8b20-0e96c0a78534",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "3e663752-1ab5-4824-bb3c-51c46afb30e2",
"Body" : "{\"error\":{\"code\":\"KeyNotFound\",\"message\":\"Deleted Key not found: JavaExtensionKey1\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:40:05 GMT",
- "content-length" : "805",
+ "date" : "Mon, 25 Jun 2018 21:22:34 GMT",
+ "content-length" : "823",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -181,22 +181,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "4a70e918-fcb5-4d11-a9f0-c17ed52f6ed3",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1525282794,\"scheduledPurgeDate\":1533058794,\"key\":{\"kid\":\"https://java-sdk-test.vault.azure.net/keys/JavaExtensionKey1/c1abf6e1106449828fdd8deaa6871022\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"58Zcvp9HTyNxedrzyyHIgmtnMYZmd5qVUyvy2vvTNMbEbMYvU__bsz2RaLsG3t6vFU2JtWUOF8ZSvOSbe_rGK9QBOJIxcyaNgPot0kNVDUj4gEd5EKCKFgAxG9ZwKTxgMsJjP-1g5Y0Si3KovdMz_S8fjWzKzeZ6DznuhpConKQd9sGvCY6tFovrKAqLAbOAuyMePDgl4E3O5rA3MzHPXhWHQ1SZZ9ANd3jGS67q25ulymyIjU1KkRlDP18khCsq7rkSb4AjEfRxqbqxEUIOteVxrTGvun4_J0TdYTnnxkrqt3XHlferBd3kLGiqWNSsEQLMDQ0TQ7_0zI2hI2BlTw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1525282792,\"updated\":1525282792,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "3460e39b-9e11-4133-9477-ce4c7e92410f",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1\",\"deletedDate\":1529961739,\"scheduledPurgeDate\":1537737739,\"key\":{\"kid\":\"https://tifchen-keyvault-fancy.vault.azure.net/keys/JavaExtensionKey1/93d42ad97a7842eb8925c5b4dfbea76e\",\"kty\":\"RSA\",\"key_ops\":[\"encrypt\",\"decrypt\",\"sign\",\"verify\",\"wrapKey\",\"unwrapKey\"],\"n\":\"0l9rjWJoKf-BnGB78pt1q_Qt43e2oEM2wE0zG8VqczMsD6H72iL_RcQZUwgIyJAZAinJQ9cUqbwz21C20rACtaPEi99uVv0cYQUnQK66F8frCrPTH_H2B2mLFk4DJs442FW3GcMt5i8kozs-Kc532g-DSTNPdz2of-MDVtF0wG0bk6V1s0Gs6tRd087goZUCre8eYUC_wc1jsivhN4z9teyHqqJQi7-3jO_PBiaBsc3NaitVMuwg797QOjMO84eO3PQnkYeCA6Jb10SThFMgbH5JXtRZOegptyrzYxPRzyah7OfVsiqHsgLMtJ9LnhLpXtc9nSXlaf20II7MP-7SUw\",\"e\":\"AQAB\"},\"attributes\":{\"enabled\":true,\"created\":1529961736,\"updated\":1529961736,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedkeys/JavaExtensionKey1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:40:05 GMT",
+ "date" : "Mon, 25 Jun 2018 21:22:35 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -206,11 +206,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "6a695a37-a387-45cd-a739-03acb860c290",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "4418fde5-e9e7-457a-81af-b33c2acb6c31",
"Body" : ""
}
} ],
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 772b2d9..bc2d373 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:14 GMT",
+ "date" : "Mon, 25 Jun 2018 21:41:41 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "609f81de-55c6-4cbf-84fe-0d103b03894c",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "54df7778-3be6-4420-8ed0-892b94f7f1a4",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:15 GMT",
- "content-length" : "294",
+ "date" : "Mon, 25 Jun 2018 21:41:43 GMT",
+ "content-length" : "303",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "bfd800e3-9053-441f-8703-c99d3d7e8226",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/7b0176dc7bdd48e5aaf97e65a5207da3\",\"attributes\":{\"enabled\":true,\"created\":1525282635,\"updated\":1525282635,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "e6e6b826-232a-4f1f-9ced-d766c5f40563",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/b1bdfdb663494a2f8a7594d4aca309f5\",\"attributes\":{\"enabled\":true,\"created\":1529962903,\"updated\":1529962903,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:16 GMT",
- "content-length" : "294",
+ "date" : "Mon, 25 Jun 2018 21:41:44 GMT",
+ "content-length" : "303",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "d9af5cb8-f92f-4f60-a8a7-b62ab59691b4",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/7b0176dc7bdd48e5aaf97e65a5207da3\",\"attributes\":{\"enabled\":true,\"created\":1525282635,\"updated\":1525282635,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "9397cc6f-3fd4-4e7e-8ac3-cbd6510fb284",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/b1bdfdb663494a2f8a7594d4aca309f5\",\"attributes\":{\"enabled\":true,\"created\":1529962903,\"updated\":1529962903,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/7b0176dc7bdd48e5aaf97e65a5207da3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/b1bdfdb663494a2f8a7594d4aca309f5?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:16 GMT",
- "content-length" : "294",
+ "date" : "Mon, 25 Jun 2018 21:41:45 GMT",
+ "content-length" : "303",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "a4c42f78-753f-4ab0-b3c6-fa928b5c0cf9",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/7b0176dc7bdd48e5aaf97e65a5207da3\",\"attributes\":{\"enabled\":true,\"created\":1525282635,\"updated\":1525282635,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "49169fdc-b7f6-4dde-8775-9cff28e9903f",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/b1bdfdb663494a2f8a7594d4aca309f5\",\"attributes\":{\"enabled\":true,\"created\":1529962903,\"updated\":1529962903,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:17 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:41:47 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,49 +127,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "d9dc324b-28eb-48ba-9b39-511562e0fcf3",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1525282637,\"scheduledPurgeDate\":1533058637,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/7b0176dc7bdd48e5aaf97e65a5207da3\",\"attributes\":{\"enabled\":true,\"created\":1525282635,\"updated\":1525282635,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
- }
- }, {
- "Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
- "Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/json; charset=utf-8"
- },
- "Response" : {
- "date" : "Wed, 02 May 2018 17:37:18 GMT",
- "content-length" : "94",
- "server" : "Microsoft-IIS/10.0",
- "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
- "cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "04b554aa-2a32-4117-8d38-8a77db3ab444",
- "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "6b11c66b-440d-4582-8f3f-36fce9aba79a",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1529962907,\"scheduledPurgeDate\":1537738907,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/b1bdfdb663494a2f8a7594d4aca309f5\",\"attributes\":{\"enabled\":true,\"created\":1529962903,\"updated\":1529962903,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:28 GMT",
+ "date" : "Mon, 25 Jun 2018 21:41:47 GMT",
"content-length" : "94",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -181,23 +154,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "33dbe3e1-5a9d-47dd-aa9b-ccff0dbbee12",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "27dd6357-1025-4c6f-95f1-3aa5f4382dc2",
"Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:39 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:42:00 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -208,22 +181,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "1aecab8f-df61-4dda-ba0e-4f2a88e4525e",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1525282637,\"scheduledPurgeDate\":1533058637,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/7b0176dc7bdd48e5aaf97e65a5207da3\",\"attributes\":{\"enabled\":true,\"created\":1525282635,\"updated\":1525282635,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "c4842b6d-1abf-440c-8953-d97b5d77ee0e",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1529962907,\"scheduledPurgeDate\":1537738907,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/b1bdfdb663494a2f8a7594d4aca309f5\",\"attributes\":{\"enabled\":true,\"created\":1529962903,\"updated\":1529962903,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:40 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:01 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -233,11 +206,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "e6510770-6101-46b9-8c1d-11e8944cda20",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "dc6e5859-4d2c-4a67-896b-421e70026551",
"Body" : ""
}
} ],
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 0d45a64..c21eda2 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:11 GMT",
+ "date" : "Mon, 25 Jun 2018 21:21:05 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "73685558-2c92-48f1-bbec-4f1b86400aea",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "cb1b7f7f-72ee-4642-bec1-b5c8030f042b",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:12 GMT",
- "content-length" : "294",
+ "date" : "Mon, 25 Jun 2018 21:21:08 GMT",
+ "content-length" : "303",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "adbd2810-e42d-4865-aa04-990e552f96cb",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/1ff16fced83a4f5488f5fa249b160b18\",\"attributes\":{\"enabled\":true,\"created\":1525282752,\"updated\":1525282752,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "8b6bc90f-8930-48e2-96b8-c9a176eed228",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/3660edafb1a04204876ed246a3c4514b\",\"attributes\":{\"enabled\":true,\"created\":1529961668,\"updated\":1529961668,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:12 GMT",
- "content-length" : "294",
+ "date" : "Mon, 25 Jun 2018 21:21:09 GMT",
+ "content-length" : "303",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "28a3b484-4148-473a-bbf6-e5c8386b7b9e",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/1ff16fced83a4f5488f5fa249b160b18\",\"attributes\":{\"enabled\":true,\"created\":1525282752,\"updated\":1525282752,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "71739e44-356f-4d91-8fd9-8082cac85d19",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/3660edafb1a04204876ed246a3c4514b\",\"attributes\":{\"enabled\":true,\"created\":1529961668,\"updated\":1529961668,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/1ff16fced83a4f5488f5fa249b160b18?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/3660edafb1a04204876ed246a3c4514b?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:13 GMT",
- "content-length" : "294",
+ "date" : "Mon, 25 Jun 2018 21:21:11 GMT",
+ "content-length" : "303",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "fbef6ba9-e37c-4567-af09-5458b5d05e63",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/1ff16fced83a4f5488f5fa249b160b18\",\"attributes\":{\"enabled\":true,\"created\":1525282752,\"updated\":1525282752,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "5d62591d-66f3-4be9-b5e5-652a410a299e",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODw\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/3660edafb1a04204876ed246a3c4514b\",\"attributes\":{\"enabled\":true,\"created\":1529961668,\"updated\":1529961668,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:13 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:21:11 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,22 +127,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "a26d2572-a3df-4507-a15a-41688dbd8fbc",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1525282753,\"scheduledPurgeDate\":1533058753,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/1ff16fced83a4f5488f5fa249b160b18\",\"attributes\":{\"enabled\":true,\"created\":1525282752,\"updated\":1525282752,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "b59f0561-bb57-4a4a-8ad4-a4e69d598e76",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1529961672,\"scheduledPurgeDate\":1537737672,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/3660edafb1a04204876ed246a3c4514b\",\"attributes\":{\"enabled\":true,\"created\":1529961668,\"updated\":1529961668,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:13 GMT",
+ "date" : "Mon, 25 Jun 2018 21:21:12 GMT",
"content-length" : "94",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -154,22 +154,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "676d887a-15e6-4792-97a8-1f77ff58a0e1",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "1cfffd8b-acd9-476b-8fcb-e639fbf2b078",
"Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:24 GMT",
+ "date" : "Mon, 25 Jun 2018 21:21:23 GMT",
"content-length" : "94",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -181,23 +181,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "0770368a-085a-47d8-8b83-d1b3e2e431be",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "73497dde-2cbb-4188-bb39-2258e4c7e8cb",
"Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret1\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:35 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:21:34 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -208,22 +208,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "9754d98e-a30c-41a0-9d97-7cf5fe538a45",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1525282753,\"scheduledPurgeDate\":1533058753,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret1/1ff16fced83a4f5488f5fa249b160b18\",\"attributes\":{\"enabled\":true,\"created\":1525282752,\"updated\":1525282752,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "5f1232e2-0b99-4ff7-b511-5ea1ee435f7a",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1\",\"deletedDate\":1529961672,\"scheduledPurgeDate\":1537737672,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret1/3660edafb1a04204876ed246a3c4514b\",\"attributes\":{\"enabled\":true,\"created\":1529961668,\"updated\":1529961668,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret1?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:35 GMT",
+ "date" : "Mon, 25 Jun 2018 21:21:37 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -233,11 +233,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "635a8eac-6656-43b1-9ad8-5025b5843c38",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "019bf790-a06b-454f-8d4c-ddf2f872e943",
"Body" : ""
}
} ],
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 7578009..e01e72a 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:44 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:58 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "5e91cb73-138f-44e8-b5fd-0f343c39dd94",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "d4374be8-8f6e-431d-a2f7-43d4a14b21fe",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:44 GMT",
- "content-length" : "304",
+ "date" : "Mon, 25 Jun 2018 21:42:59 GMT",
+ "content-length" : "313",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "376ef618-f0e7-4b41-b8a5-2024c04932ec",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/454ffc8d23ac4fcba199857e0e4231f1\",\"attributes\":{\"enabled\":true,\"created\":1525282724,\"updated\":1525282724,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "d47caae8-b82d-4fd0-9aa3-a8adb80b91e9",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/b501f89c350e430a81d4efd59c372c91\",\"attributes\":{\"enabled\":true,\"created\":1529962979,\"updated\":1529962979,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:45 GMT",
- "content-length" : "304",
+ "date" : "Mon, 25 Jun 2018 21:43:00 GMT",
+ "content-length" : "313",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "999112d8-e9c9-456d-8a1b-549c47961758",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/454ffc8d23ac4fcba199857e0e4231f1\",\"attributes\":{\"enabled\":true,\"created\":1525282724,\"updated\":1525282724,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "9ec8c543-5875-4cf7-a7fd-2fe9af5066b2",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/b501f89c350e430a81d4efd59c372c91\",\"attributes\":{\"enabled\":true,\"created\":1529962979,\"updated\":1529962979,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/454ffc8d23ac4fcba199857e0e4231f1?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/b501f89c350e430a81d4efd59c372c91?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:45 GMT",
- "content-length" : "304",
+ "date" : "Mon, 25 Jun 2018 21:43:03 GMT",
+ "content-length" : "313",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "de666b4f-bdd6-44f7-adc4-1280ee42bc78",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/454ffc8d23ac4fcba199857e0e4231f1\",\"attributes\":{\"enabled\":true,\"created\":1525282724,\"updated\":1525282724,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "2b0bbedb-6a9f-4dc3-8306-e56019c8f97c",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/b501f89c350e430a81d4efd59c372c91\",\"attributes\":{\"enabled\":true,\"created\":1529962979,\"updated\":1529962979,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:46 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:43:04 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,49 +127,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "4c2ac5ec-2a7a-4a55-8f52-41ebb180f99f",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1525282726,\"scheduledPurgeDate\":1533058726,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/454ffc8d23ac4fcba199857e0e4231f1\",\"attributes\":{\"enabled\":true,\"created\":1525282724,\"updated\":1525282724,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
- }
- }, {
- "Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
- "Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/json; charset=utf-8"
- },
- "Response" : {
- "date" : "Wed, 02 May 2018 17:38:47 GMT",
- "content-length" : "94",
- "server" : "Microsoft-IIS/10.0",
- "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
- "cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "c4903f55-c56b-4310-8f73-796aa9963dd4",
- "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "4380c7a1-1a69-4987-90c9-2b92567d7f8a",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1529962984,\"scheduledPurgeDate\":1537738984,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/b501f89c350e430a81d4efd59c372c91\",\"attributes\":{\"enabled\":true,\"created\":1529962979,\"updated\":1529962979,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:58 GMT",
+ "date" : "Mon, 25 Jun 2018 21:43:05 GMT",
"content-length" : "94",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -181,23 +154,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "f51249da-b9e1-4948-b523-8df70683f128",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "bccc94ad-d3d1-41d3-90b5-3a2af1c299e5",
"Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:09 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:43:20 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -208,22 +181,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "9a2009d2-154c-49c2-ae7a-4fca7c79a3fd",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1525282726,\"scheduledPurgeDate\":1533058726,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/454ffc8d23ac4fcba199857e0e4231f1\",\"attributes\":{\"enabled\":true,\"created\":1525282724,\"updated\":1525282724,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "705f16af-2a5b-45e9-96c4-db3dc60016d8",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1529962984,\"scheduledPurgeDate\":1537738984,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/b501f89c350e430a81d4efd59c372c91\",\"attributes\":{\"enabled\":true,\"created\":1529962979,\"updated\":1529962979,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:09 GMT",
+ "date" : "Mon, 25 Jun 2018 21:43:21 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -233,11 +206,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "6bcbdcd2-aa8b-4bed-8c19-aa68b2872584",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "b65c2739-f027-4e75-ac8c-f78f8b7c87c3",
"Body" : ""
}
} ],
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 3767cf6..e5c6aed 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:05 GMT",
+ "date" : "Mon, 25 Jun 2018 21:20:36 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "17bfbab7-0a0a-4d64-8471-6ff3f1d3777f",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "62cb3197-e61c-44fb-87a2-b1fcaa0260ed",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:06 GMT",
- "content-length" : "304",
+ "date" : "Mon, 25 Jun 2018 21:20:40 GMT",
+ "content-length" : "313",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "e535845c-2af9-4538-bd22-752b8e52aa03",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/46be7beb7b8b43d1bf9891421cd2df12\",\"attributes\":{\"enabled\":true,\"created\":1525282926,\"updated\":1525282926,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "b5a08ae9-bf3b-46b5-b715-9b20356f7307",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/034d5deab8164ffc97ca154f0cd9466e\",\"attributes\":{\"enabled\":true,\"created\":1529961640,\"updated\":1529961640,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:06 GMT",
- "content-length" : "304",
+ "date" : "Mon, 25 Jun 2018 21:20:41 GMT",
+ "content-length" : "313",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "8d5ddb7b-c675-45ee-b22d-b305081c92bb",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/46be7beb7b8b43d1bf9891421cd2df12\",\"attributes\":{\"enabled\":true,\"created\":1525282926,\"updated\":1525282926,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "291803e2-3257-4d43-a855-ffae71542940",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/034d5deab8164ffc97ca154f0cd9466e\",\"attributes\":{\"enabled\":true,\"created\":1529961640,\"updated\":1529961640,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/46be7beb7b8b43d1bf9891421cd2df12?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/034d5deab8164ffc97ca154f0cd9466e?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:07 GMT",
- "content-length" : "304",
+ "date" : "Mon, 25 Jun 2018 21:20:46 GMT",
+ "content-length" : "313",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "19693f26-4652-4398-b4cc-9ba692a587c7",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/46be7beb7b8b43d1bf9891421cd2df12\",\"attributes\":{\"enabled\":true,\"created\":1525282926,\"updated\":1525282926,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "efde48d1-b1bb-4abb-9eff-2a18105d3dae",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYX\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/034d5deab8164ffc97ca154f0cd9466e\",\"attributes\":{\"enabled\":true,\"created\":1529961640,\"updated\":1529961640,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:07 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:20:48 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,49 +127,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "cad4b58d-d778-4a2a-80e2-2b9ffa4efec8",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1525282928,\"scheduledPurgeDate\":1533058928,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/46be7beb7b8b43d1bf9891421cd2df12\",\"attributes\":{\"enabled\":true,\"created\":1525282926,\"updated\":1525282926,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
- }
- }, {
- "Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
- "Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/json; charset=utf-8"
- },
- "Response" : {
- "date" : "Wed, 02 May 2018 17:42:07 GMT",
- "content-length" : "94",
- "server" : "Microsoft-IIS/10.0",
- "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
- "cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "5f4a61ec-ab21-417e-b728-c7c78d2123aa",
- "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "4557a962-740d-4221-9ff5-8f0fa90ae5e5",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1529961648,\"scheduledPurgeDate\":1537737648,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/034d5deab8164ffc97ca154f0cd9466e\",\"attributes\":{\"enabled\":true,\"created\":1529961640,\"updated\":1529961640,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:18 GMT",
+ "date" : "Mon, 25 Jun 2018 21:20:50 GMT",
"content-length" : "94",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -181,23 +154,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "af3b69f9-a3ec-4fa1-b324-d42f679061ca",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "d901c334-4cbf-4c39-8706-e7f79ed78e3b",
"Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret2\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:29 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:21:03 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -208,22 +181,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "af4cd826-972b-4008-9962-d2d1baec2a2c",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1525282928,\"scheduledPurgeDate\":1533058928,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret2/46be7beb7b8b43d1bf9891421cd2df12\",\"attributes\":{\"enabled\":true,\"created\":1525282926,\"updated\":1525282926,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "b1c9446f-bffa-4028-abe0-e29d6bdadbae",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2\",\"deletedDate\":1529961648,\"scheduledPurgeDate\":1537737648,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret2/034d5deab8164ffc97ca154f0cd9466e\",\"attributes\":{\"enabled\":true,\"created\":1529961640,\"updated\":1529961640,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret2?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:42:30 GMT",
+ "date" : "Mon, 25 Jun 2018 21:21:04 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -233,11 +206,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "a5fcd552-8f79-470b-960a-b31566b5288c",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "c1f5b6ab-e133-4215-956a-2da4f3be09df",
"Body" : ""
}
} ],
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 d896128..af284b3 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:40 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:01 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "b4559d0d-c821-4d5d-95e4-d2c00aa9066b",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "cc5bd3d4-d3ff-4453-a20e-fa49e582a84b",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:42 GMT",
- "content-length" : "315",
+ "date" : "Mon, 25 Jun 2018 21:42:03 GMT",
+ "content-length" : "324",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "663c95e5-31c1-4dc6-a01f-536ee251f455",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/f51c1d003cec4e75bd8077b747b9745a\",\"attributes\":{\"enabled\":true,\"created\":1525282662,\"updated\":1525282662,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "2a72c49e-5d14-4e46-97fc-62dacb0c9c0f",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/a94886eb8ad64bef8af8e1fcc0d820ab\",\"attributes\":{\"enabled\":true,\"created\":1529962923,\"updated\":1529962923,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:42 GMT",
- "content-length" : "315",
+ "date" : "Mon, 25 Jun 2018 21:42:06 GMT",
+ "content-length" : "324",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "17aa7a71-2c05-466e-a5f2-9812ef086ff8",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/f51c1d003cec4e75bd8077b747b9745a\",\"attributes\":{\"enabled\":true,\"created\":1525282662,\"updated\":1525282662,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "2277fd77-1acd-4735-84b8-b6ef097c6ac2",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/a94886eb8ad64bef8af8e1fcc0d820ab\",\"attributes\":{\"enabled\":true,\"created\":1529962923,\"updated\":1529962923,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/f51c1d003cec4e75bd8077b747b9745a?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/a94886eb8ad64bef8af8e1fcc0d820ab?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:43 GMT",
- "content-length" : "315",
+ "date" : "Mon, 25 Jun 2018 21:42:07 GMT",
+ "content-length" : "324",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "054ecbcb-39d2-4fa9-a601-c5a06a236aaf",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/f51c1d003cec4e75bd8077b747b9745a\",\"attributes\":{\"enabled\":true,\"created\":1525282662,\"updated\":1525282662,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "d44518f5-ccf1-4e88-9586-4038c1fb1cf4",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/a94886eb8ad64bef8af8e1fcc0d820ab\",\"attributes\":{\"enabled\":true,\"created\":1529962923,\"updated\":1529962923,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:44 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:42:09 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,49 +127,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "215beab9-b630-4ddc-9a89-8224339e7651",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1525282664,\"scheduledPurgeDate\":1533058664,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/f51c1d003cec4e75bd8077b747b9745a\",\"attributes\":{\"enabled\":true,\"created\":1525282662,\"updated\":1525282662,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
- }
- }, {
- "Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
- "Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/json; charset=utf-8"
- },
- "Response" : {
- "date" : "Wed, 02 May 2018 17:37:45 GMT",
- "content-length" : "94",
- "server" : "Microsoft-IIS/10.0",
- "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
- "cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "86d9021e-8290-451f-90e3-5d318782c9a7",
- "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "f6e3b359-848e-4cc5-9143-12a6389e9808",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1529962929,\"scheduledPurgeDate\":1537738929,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/a94886eb8ad64bef8af8e1fcc0d820ab\",\"attributes\":{\"enabled\":true,\"created\":1529962923,\"updated\":1529962923,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:37:55 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:10 GMT",
"content-length" : "94",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -181,23 +154,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "728b25e4-181f-4be7-a125-22c3c8d418a6",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "b391ff5b-fef8-4053-a422-fdbd2f41f7a9",
"Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:06 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:42:22 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -208,22 +181,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "0d20535e-da42-41a4-8fef-a6202af3405f",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1525282664,\"scheduledPurgeDate\":1533058664,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/f51c1d003cec4e75bd8077b747b9745a\",\"attributes\":{\"enabled\":true,\"created\":1525282662,\"updated\":1525282662,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "0384cc96-00ef-4404-8de0-04b72ca1b14c",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1529962929,\"scheduledPurgeDate\":1537738929,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/a94886eb8ad64bef8af8e1fcc0d820ab\",\"attributes\":{\"enabled\":true,\"created\":1529962923,\"updated\":1529962923,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:38:06 GMT",
+ "date" : "Mon, 25 Jun 2018 21:42:24 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -233,11 +206,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "7c0da973-a8e5-401a-a446-7479d7523736",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "4212235d-b2eb-4f99-ae79-703da82c16a3",
"Body" : ""
}
} ],
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 9877ab0..449913a 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,41 +1,41 @@
{
"networkCallRecords" : [ {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
- "Content-Type" : "application/jose+json; charset=utf-8"
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:36 GMT",
+ "date" : "Mon, 25 Jun 2018 21:21:37 GMT",
"content-length" : "0",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
- "www-authenticate" : "Bearer authorization=\"https://login.windows.net/47b059c3-046e-4c01-baa7-8b27aee31575\", resource=\"https://vault.azure.net\"",
+ "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-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "3332aa09-f673-433e-8d61-02cf273f2626",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "515fc45a-5154-4def-bd38-7f5e7e225274",
"Body" : ""
}
}, {
"Method" : "PUT",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:37 GMT",
- "content-length" : "315",
+ "date" : "Mon, 25 Jun 2018 21:21:40 GMT",
+ "content-length" : "324",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -46,23 +46,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "1cf0a4ba-c972-405f-bf87-7ea808e0c276",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/09ef7defe5e646268a56449d49c1622b\",\"attributes\":{\"enabled\":true,\"created\":1525282777,\"updated\":1525282777,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "fe666844-bbff-4583-aee4-61d597f7e0f7",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/ea1deb0012b24eb89a924fe1783751be\",\"attributes\":{\"enabled\":true,\"created\":1529961701,\"updated\":1529961701,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:37 GMT",
- "content-length" : "315",
+ "date" : "Mon, 25 Jun 2018 21:21:44 GMT",
+ "content-length" : "324",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -73,23 +73,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "868f9d4f-4e8c-45ba-be3f-14e9f62d3aee",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/09ef7defe5e646268a56449d49c1622b\",\"attributes\":{\"enabled\":true,\"created\":1525282777,\"updated\":1525282777,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "abd49cc7-f213-4c39-984a-8625ead28a4a",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/ea1deb0012b24eb89a924fe1783751be\",\"attributes\":{\"enabled\":true,\"created\":1529961701,\"updated\":1529961701,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/09ef7defe5e646268a56449d49c1622b?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/ea1deb0012b24eb89a924fe1783751be?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:38 GMT",
- "content-length" : "315",
+ "date" : "Mon, 25 Jun 2018 21:21:46 GMT",
+ "content-length" : "324",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -100,23 +100,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "0f44e321-e8da-453c-891e-a765a3c2c464",
- "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/09ef7defe5e646268a56449d49c1622b\",\"attributes\":{\"enabled\":true,\"created\":1525282777,\"updated\":1525282777,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "53d069d3-6c2f-4fc8-b0e6-fbdbaacbad4b",
+ "Body" : "{\"value\":\"AAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8\",\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/ea1deb0012b24eb89a924fe1783751be\",\"attributes\":{\"enabled\":true,\"created\":1529961701,\"updated\":1529961701,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:39 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:21:47 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -127,22 +127,49 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "96d46918-c0ee-4f4a-951f-73ddd606d97d",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1525282779,\"scheduledPurgeDate\":1533058779,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/09ef7defe5e646268a56449d49c1622b\",\"attributes\":{\"enabled\":true,\"created\":1525282777,\"updated\":1525282777,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "d406910f-3266-45f2-9913-aa22d4c0ebc2",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1529961708,\"scheduledPurgeDate\":1537737708,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/ea1deb0012b24eb89a924fe1783751be\",\"attributes\":{\"enabled\":true,\"created\":1529961701,\"updated\":1529961701,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ }
+ }, {
+ "Method" : "GET",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0",
+ "Headers" : {
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
+ "Content-Type" : "application/json; charset=utf-8"
+ },
+ "Response" : {
+ "date" : "Mon, 25 Jun 2018 21:21:48 GMT",
+ "content-length" : "94",
+ "server" : "Microsoft-IIS/10.0",
+ "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-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
+ "cache-control" : "no-cache",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "15c519bc-78e5-40a5-bb8e-de82a9e8416d",
+ "Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:39 GMT",
+ "date" : "Mon, 25 Jun 2018 21:21:59 GMT",
"content-length" : "94",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
@@ -154,23 +181,23 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "6b958ae2-7c2a-4f02-92c9-bba5f03d8c5b",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "9575069d-5da9-492f-bbec-d7e66a695f25",
"Body" : "{\"error\":{\"code\":\"SecretNotFound\",\"message\":\"Deleted Secret not found: JavaExtensionSecret3\"}}"
}
}, {
"Method" : "GET",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:49 GMT",
- "content-length" : "407",
+ "date" : "Mon, 25 Jun 2018 21:22:11 GMT",
+ "content-length" : "425",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -181,22 +208,22 @@
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
"content-type" : "application/json; charset=utf-8",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "e245049d-a962-46d4-977a-5c7292ff1e8d",
- "Body" : "{\"recoveryId\":\"https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1525282779,\"scheduledPurgeDate\":1533058779,\"contentType\":\"application/octet-stream\",\"id\":\"https://java-sdk-test.vault.azure.net/secrets/JavaExtensionSecret3/09ef7defe5e646268a56449d49c1622b\",\"attributes\":{\"enabled\":true,\"created\":1525282777,\"updated\":1525282777,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "c3cda06a-f5e3-4ab9-8ac8-7659c73a8c0c",
+ "Body" : "{\"recoveryId\":\"https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3\",\"deletedDate\":1529961708,\"scheduledPurgeDate\":1537737708,\"contentType\":\"application/octet-stream\",\"id\":\"https://tifchen-keyvault-fancy.vault.azure.net/secrets/JavaExtensionSecret3/ea1deb0012b24eb89a924fe1783751be\",\"attributes\":{\"enabled\":true,\"created\":1529961701,\"updated\":1529961701,\"recoveryLevel\":\"Recoverable+Purgeable\"}}"
}
}, {
"Method" : "DELETE",
- "Uri" : "https://java-sdk-test.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0-preview",
+ "Uri" : "https://tifchen-keyvault-fancy.vault.azure.net/deletedsecrets/JavaExtensionSecret3?api-version=7.0",
"Headers" : {
- "User-Agent" : "Azure-SDK-For-Java/1.1-beta-1 OS:Windows 10/10.0 MacAddressHash:33ca9d883563504bcab192245cb7c9433b70f0d55db34ad5136cf6aa9fb6b5f5 Java:10 (KeyVaultClientBase, 7.0-preview)",
+ "User-Agent" : "Azure-SDK-For-Java/null OS:Windows 10/10.0 MacAddressHash:08b8c65810754c5927ba6275e7902c61544ffc9cb2de4d24196bc80b2fbba780 Java:1.8.0_172 (KeyVaultClientBase, 7.0)",
"Content-Type" : "application/json; charset=utf-8"
},
"Response" : {
- "date" : "Wed, 02 May 2018 17:39:50 GMT",
+ "date" : "Mon, 25 Jun 2018 21:22:14 GMT",
"server" : "Microsoft-IIS/10.0",
"expires" : "-1",
"x-aspnet-version" : "4.0.30319",
@@ -206,11 +233,11 @@
"strict-transport-security" : "max-age=31536000;includeSubDomains",
"x-content-type-options" : "nosniff",
"x-powered-by" : "ASP.NET",
- "x-ms-keyvault-network-info" : "addr=167.220.0.164;act_addr_fam=InterNetwork;",
- "x-ms-keyvault-region" : "eastus",
+ "x-ms-keyvault-network-info" : "addr=167.220.1.18;act_addr_fam=InterNetwork;",
+ "x-ms-keyvault-region" : "West US",
"cache-control" : "no-cache",
- "x-ms-keyvault-service-version" : "1.0.0.847",
- "x-ms-request-id" : "02643449-e04a-4aca-bb2b-848aba94f0c5",
+ "x-ms-keyvault-service-version" : "1.0.0.849",
+ "x-ms-request-id" : "5ea866f5-7130-48ca-b495-8eed855098eb",
"Body" : ""
}
} ],
diff --git a/azure-keyvault-webkey/pom.xml b/azure-keyvault-webkey/pom.xml
index e3f586f..c33885f 100644
--- a/azure-keyvault-webkey/pom.xml
+++ b/azure-keyvault-webkey/pom.xml
@@ -6,7 +6,7 @@
com.microsoft.azure
azure-keyvault-parent
- 1.1-beta-1
+ 1.1
../pom.xml
diff --git a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonDeserializer.java b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonDeserializer.java
index 9418b15..f36de8c 100644
--- a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonDeserializer.java
+++ b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonDeserializer.java
@@ -1,7 +1,7 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * license information.
*/
package com.microsoft.azure.keyvault.webkey;
diff --git a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonSerializer.java b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonSerializer.java
index eac3d33..c4b56b7 100644
--- a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonSerializer.java
+++ b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/Base64UrlJsonSerializer.java
@@ -1,7 +1,7 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * license information.
*/
package com.microsoft.azure.keyvault.webkey;
diff --git a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKey.java b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKey.java
index 27b11ab..c7d317a 100644
--- a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKey.java
+++ b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKey.java
@@ -1,7 +1,7 @@
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
- * license information.
+ * license information.
*/
package com.microsoft.azure.keyvault.webkey;
@@ -9,12 +9,10 @@
import java.io.IOException;
import java.math.BigInteger;
import java.security.GeneralSecurityException;
-import java.security.InvalidAlgorithmParameterException;
import java.security.KeyFactory;
import java.security.KeyPair;
import java.security.KeyPairGenerator;
import java.security.NoSuchAlgorithmException;
-import java.security.NoSuchProviderException;
import java.security.PrivateKey;
import java.security.Provider;
import java.security.PublicKey;
@@ -29,7 +27,6 @@
import java.security.spec.ECPrivateKeySpec;
import java.security.spec.ECPublicKeySpec;
import java.security.spec.EllipticCurve;
-import java.security.spec.InvalidKeySpecException;
import java.security.spec.RSAPrivateCrtKeySpec;
import java.security.spec.RSAPrivateKeySpec;
import java.security.spec.RSAPublicKeySpec;
@@ -62,12 +59,12 @@ public class JsonWebKey {
/**
* Key Identifier.
*/
- @JsonProperty(value = "kid")
+ @JsonProperty(value = "kid")
private String kid;
/**
- * JsonWebKey key type (kty). Possible values include: 'EC', 'EC-HSM',
- * 'RSA', 'RSA-HSM', 'oct'.
+ * JsonWebKey key type (kty). Possible values include: 'EC', 'EC-HSM', 'RSA',
+ * 'RSA-HSM', 'oct'.
*/
@JsonProperty(value = "kty")
private JsonWebKeyType kty;
@@ -137,7 +134,7 @@ public class JsonWebKey {
*/
@JsonProperty(value = "key_hsm")
private byte[] t;
-
+
/**
* Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible
* values include: 'P-256', 'P-384', 'P-521', 'SECP256K1'.
@@ -150,13 +147,13 @@ public class JsonWebKey {
*/
@JsonProperty(value = "x")
private byte[] x;
-
+
/**
* Y component of an EC public key.
*/
@JsonProperty(value = "y")
private byte[] y;
-
+
/**
* Get the kid value.
*
@@ -170,7 +167,8 @@ public String kid() {
/**
* Set the key identifier value.
*
- * @param kid the kid value to set
+ * @param kid
+ * the kid value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withKid(String kid) {
@@ -191,7 +189,8 @@ public JsonWebKeyType kty() {
/**
* Set the key type value.
*
- * @param kty the key type
+ * @param kty
+ * the key type
* @return the JsonWebKey object itself.
*/
public JsonWebKey withKty(JsonWebKeyType kty) {
@@ -212,7 +211,8 @@ public List keyOps() {
/**
* Set the keyOps value.
*
- * @param keyOps the keyOps value to set
+ * @param keyOps
+ * the keyOps value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withKeyOps(List keyOps) {
@@ -235,7 +235,8 @@ public byte[] n() {
/**
* Set the n value.
*
- * @param n the n value to set
+ * @param n
+ * the n value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withN(byte[] n) {
@@ -258,7 +259,8 @@ public byte[] e() {
/**
* Set the e value.
*
- * @param e the e value to set
+ * @param e
+ * the e value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withE(byte[] e) {
@@ -281,7 +283,8 @@ public byte[] d() {
/**
* Set the d value.
*
- * @param d the d value to set
+ * @param d
+ * the d value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withD(byte[] d) {
@@ -291,6 +294,7 @@ public JsonWebKey withD(byte[] d) {
/**
* Get the RSA Private Key Parameter value.
+ *
* @return the RSA Private Key Parameter value.
*/
@JsonProperty("dp")
@@ -302,7 +306,9 @@ public byte[] dp() {
/**
* Set RSA Private Key Parameter value.
- * @param dp the RSA Private Key Parameter value to set.
+ *
+ * @param dp
+ * the RSA Private Key Parameter value to set.
* @return the JsonWebKey object itself.
*/
public JsonWebKey withDp(byte[] dp) {
@@ -312,6 +318,7 @@ public JsonWebKey withDp(byte[] dp) {
/**
* Get the RSA Private Key Parameter value.
+ *
* @return the RSA Private Key Parameter value.
*/
@JsonProperty("dq")
@@ -323,7 +330,9 @@ public byte[] dq() {
/**
* Set RSA Private Key Parameter value .
- * @param dq the RSA Private Key Parameter value to set.
+ *
+ * @param dq
+ * the RSA Private Key Parameter value to set.
* @return the JsonWebKey object itself.
*/
public JsonWebKey withDq(byte[] dq) {
@@ -333,6 +342,7 @@ public JsonWebKey withDq(byte[] dq) {
/**
* Get the RSA Private Key Parameter value.
+ *
* @return the RSA Private Key Parameter value.
*/
@JsonProperty("qi")
@@ -344,7 +354,9 @@ public byte[] qi() {
/**
* Set RSA Private Key Parameter value.
- * @param qi the RSA Private Key Parameter value to set.
+ *
+ * @param qi
+ * the RSA Private Key Parameter value to set.
* @return the JsonWebKey object itself.
*/
public JsonWebKey withQi(byte[] qi) {
@@ -354,6 +366,7 @@ public JsonWebKey withQi(byte[] qi) {
/**
* Get the RSA secret prime value.
+ *
* @return the RSA secret prime value.
*/
@JsonProperty("p")
@@ -365,7 +378,9 @@ public byte[] p() {
/**
* Set the RSA secret prime value.
- * @param p the RSA secret prime value.
+ *
+ * @param p
+ * the RSA secret prime value.
* @return the JsonWebKey object itself.
*/
public JsonWebKey withP(byte[] p) {
@@ -375,6 +390,7 @@ public JsonWebKey withP(byte[] p) {
/**
* Get RSA secret prime, with p < q value.
+ *
* @return the RSA secret prime, with p < q value.
*/
@JsonProperty("q")
@@ -386,7 +402,9 @@ public byte[] q() {
/**
* Set the RSA secret prime, with p < q value.
- * @param q the the RSA secret prime, with p < q value to be set.
+ *
+ * @param q
+ * the the RSA secret prime, with p < q value to be set.
* @return the JsonWebKey object itself.
*/
public JsonWebKey withQ(byte[] q) {
@@ -396,6 +414,7 @@ public JsonWebKey withQ(byte[] q) {
/**
* Get Symmetric key value.
+ *
* @return the symmetric key value.
*/
@JsonProperty("k")
@@ -407,7 +426,9 @@ public byte[] k() {
/**
* Set the Symmetric key value.
- * @param k the symmetric key value to set.
+ *
+ * @param k
+ * the symmetric key value to set.
* @return the JsonWebKey object itself.
*/
public JsonWebKey withK(byte[] k) {
@@ -417,6 +438,7 @@ public JsonWebKey withK(byte[] k) {
/**
* Get HSM Token value, used with Bring Your Own Key.
+ *
* @return HSM Token, used with Bring Your Own Key.
*/
@JsonProperty("key_hsm")
@@ -428,7 +450,9 @@ public byte[] t() {
/**
* Set HSM Token value, used with Bring Your Own Key.
- * @param t HSM Token value to set, used with Bring Your Own Key
+ *
+ * @param t
+ * HSM Token value to set, used with Bring Your Own Key
* @return the JsonWebKey object itself.
*/
public JsonWebKey withT(byte[] t) {
@@ -463,7 +487,8 @@ public JsonWebKeyCurveName crv() {
/**
* Set the crv value.
*
- * @param crv the crv value to set
+ * @param crv
+ * the crv value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withCrv(JsonWebKeyCurveName crv) {
@@ -480,18 +505,19 @@ public JsonWebKey withCrv(JsonWebKeyCurveName crv) {
@JsonSerialize(using = Base64UrlJsonSerializer.class)
@JsonDeserialize(using = Base64UrlJsonDeserializer.class)
public byte[] x() {
- return this.x;
+ return this.x;
}
/**
* Set the x value.
*
- * @param x the x value to set
+ * @param x
+ * the x value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withX(byte[] x) {
- this.x = x;
- return this;
+ this.x = x;
+ return this;
}
/**
@@ -503,20 +529,21 @@ public JsonWebKey withX(byte[] x) {
@JsonSerialize(using = Base64UrlJsonSerializer.class)
@JsonDeserialize(using = Base64UrlJsonDeserializer.class)
public byte[] y() {
- return this.y;
+ return this.y;
}
/**
* Set the y value.
*
- * @param y the y value to set
+ * @param y
+ * the y value to set
* @return the JsonWebKey object itself.
*/
public JsonWebKey withY(byte[] y) {
- this.y = y;
- return this;
+ this.y = y;
+ return this;
}
-
+
/**
* Get the RSA public key spec value.
*
@@ -541,14 +568,16 @@ private RSAPrivateKeySpec getRSAPrivateKeySpec() {
/**
* Get the RSA public key value.
*
- * @param provider the Java security provider.
+ * @param provider
+ * the Java security provider.
* @return the RSA public key value
*/
private PublicKey getRSAPublicKey(Provider provider) {
try {
RSAPublicKeySpec publicKeySpec = getRSAPublicKeySpec();
- KeyFactory factory = provider != null ? KeyFactory.getInstance("RSA", provider) : KeyFactory.getInstance("RSA");
+ KeyFactory factory = provider != null ? KeyFactory.getInstance("RSA", provider)
+ : KeyFactory.getInstance("RSA");
return factory.generatePublic(publicKeySpec);
} catch (GeneralSecurityException e) {
@@ -559,42 +588,45 @@ private PublicKey getRSAPublicKey(Provider provider) {
/**
* Get the RSA private key value.
*
- * @param provider the Java security provider.
+ * @param provider
+ * the Java security provider.
* @return the RSA private key value
*/
private PrivateKey getRSAPrivateKey(Provider provider) {
try {
RSAPrivateKeySpec privateKeySpec = getRSAPrivateKeySpec();
- KeyFactory factory = provider != null ? KeyFactory.getInstance("RSA", provider) : KeyFactory.getInstance("RSA");
+ KeyFactory factory = provider != null ? KeyFactory.getInstance("RSA", provider)
+ : KeyFactory.getInstance("RSA");
return factory.generatePrivate(privateKeySpec);
} catch (GeneralSecurityException e) {
throw new IllegalStateException(e);
}
}
-
-
- private static PublicKey getECPublicKey(ECPoint ecPoint, ECParameterSpec curveSpec, Provider provider) {
- // Create public key spec with given point
- try {
- ECPublicKeySpec pubSpec = new ECPublicKeySpec(ecPoint, curveSpec);
- KeyFactory kf = provider != null ? KeyFactory.getInstance("EC", provider) : KeyFactory.getInstance("EC", "SunEC");
- return (ECPublicKey) kf.generatePublic(pubSpec);
- } catch (GeneralSecurityException e) {
- throw new IllegalStateException(e);
- }
- }
-
- private static PrivateKey getECPrivateKey(byte[] d, ECParameterSpec curveSpec, Provider provider) {
- try {
- ECPrivateKeySpec priSpec = new ECPrivateKeySpec(new BigInteger(1, d), curveSpec);
- KeyFactory kf = provider != null ? KeyFactory.getInstance("EC", provider) : KeyFactory.getInstance("EC", "SunEC");
- return (ECPrivateKey) kf.generatePrivate(priSpec);
- } catch (GeneralSecurityException e) {
- throw new IllegalStateException(e);
- }
- }
+
+ private static PublicKey getECPublicKey(ECPoint ecPoint, ECParameterSpec curveSpec, Provider provider) {
+ // Create public key spec with given point
+ try {
+ ECPublicKeySpec pubSpec = new ECPublicKeySpec(ecPoint, curveSpec);
+ KeyFactory kf = provider != null ? KeyFactory.getInstance("EC", provider)
+ : KeyFactory.getInstance("EC", "SunEC");
+ return (ECPublicKey) kf.generatePublic(pubSpec);
+ } catch (GeneralSecurityException e) {
+ throw new IllegalStateException(e);
+ }
+ }
+
+ private static PrivateKey getECPrivateKey(byte[] d, ECParameterSpec curveSpec, Provider provider) {
+ try {
+ ECPrivateKeySpec priSpec = new ECPrivateKeySpec(new BigInteger(1, d), curveSpec);
+ KeyFactory kf = provider != null ? KeyFactory.getInstance("EC", provider)
+ : KeyFactory.getInstance("EC", "SunEC");
+ return (ECPrivateKey) kf.generatePrivate(priSpec);
+ } catch (GeneralSecurityException e) {
+ throw new IllegalStateException(e);
+ }
+ }
/**
* Verifies if the key is an RSA key.
@@ -629,7 +661,9 @@ private static BigInteger toBigInteger(byte[] b) {
/**
* Converts RSA key pair to JSON web key.
- * @param keyPair RSA key pair
+ *
+ * @param keyPair
+ * RSA key pair
* @return the JSON web key, converted from RSA key pair.
*/
public static JsonWebKey fromRSA(KeyPair keyPair) {
@@ -639,30 +673,19 @@ public static JsonWebKey fromRSA(KeyPair keyPair) {
if (privateKey != null) {
- key = new JsonWebKey()
- .withKty(JsonWebKeyType.RSA)
- .withN(toByteArray(privateKey.getModulus()))
+ key = new JsonWebKey().withKty(JsonWebKeyType.RSA).withN(toByteArray(privateKey.getModulus()))
.withE(toByteArray(privateKey.getPublicExponent()))
- .withD(toByteArray(privateKey.getPrivateExponent()))
- .withP(toByteArray(privateKey.getPrimeP()))
- .withQ(toByteArray(privateKey.getPrimeQ()))
- .withDp(toByteArray(privateKey.getPrimeExponentP()))
+ .withD(toByteArray(privateKey.getPrivateExponent())).withP(toByteArray(privateKey.getPrimeP()))
+ .withQ(toByteArray(privateKey.getPrimeQ())).withDp(toByteArray(privateKey.getPrimeExponentP()))
.withDq(toByteArray(privateKey.getPrimeExponentQ()))
.withQi(toByteArray(privateKey.getCrtCoefficient()));
} else {
RSAPublicKey publicKey = (RSAPublicKey) keyPair.getPublic();
- key = new JsonWebKey()
- .withKty(JsonWebKeyType.RSA)
- .withN(toByteArray(publicKey.getModulus()))
- .withE(toByteArray(publicKey.getPublicExponent()))
- .withD(null)
- .withP(null)
- .withQ(null)
- .withDp(null)
- .withDq(null)
- .withQi(null);
+ key = new JsonWebKey().withKty(JsonWebKeyType.RSA).withN(toByteArray(publicKey.getModulus()))
+ .withE(toByteArray(publicKey.getPublicExponent())).withD(null).withP(null).withQ(null).withDp(null)
+ .withDq(null).withQi(null);
}
return key;
@@ -670,6 +693,7 @@ public static JsonWebKey fromRSA(KeyPair keyPair) {
/**
* Converts JSON web key to RSA key pair.
+ *
* @return RSA key pair
*/
public KeyPair toRSA() {
@@ -677,18 +701,27 @@ public KeyPair toRSA() {
}
/**
- * Converts JSON web key to RSA key pair and include the private key if set to true.
- * @param includePrivateParameters true if the RSA key pair should include the private key. False otherwise.
+ * Converts JSON web key to RSA key pair and include the private key if set to
+ * true.
+ *
+ * @param includePrivateParameters
+ * true if the RSA key pair should include the private key. False
+ * otherwise.
* @return RSA key pair
*/
public KeyPair toRSA(boolean includePrivateParameters) {
return toRSA(includePrivateParameters, null);
}
-
+
/**
- * Converts JSON web key to RSA key pair and include the private key if set to true.
- * @param provider the Java security provider.
- * @param includePrivateParameters true if the RSA key pair should include the private key. False otherwise.
+ * Converts JSON web key to RSA key pair and include the private key if set to
+ * true.
+ *
+ * @param provider
+ * the Java security provider.
+ * @param includePrivateParameters
+ * true if the RSA key pair should include the private key. False
+ * otherwise.
* @return RSA key pair
*/
public KeyPair toRSA(boolean includePrivateParameters, Provider provider) {
@@ -702,162 +735,170 @@ public KeyPair toRSA(boolean includePrivateParameters, Provider provider) {
return new KeyPair(getRSAPublicKey(provider), null);
}
}
-
+
/**
- * Converts JSON web key to EC key pair and include the private key if set to true.
+ * Converts JSON web key to EC key pair and include the private key if set to
+ * true.
+ *
* @return EC key pair
*/
public KeyPair toEC() {
- return toEC(false, null);
+ return toEC(false, null);
}
-
+
/**
- * Converts JSON web key to EC key pair and include the private key if set to true.
- * @param includePrivateParameters true if the EC key pair should include the private key. False otherwise.
+ * Converts JSON web key to EC key pair and include the private key if set to
+ * true.
+ *
+ * @param includePrivateParameters
+ * true if the EC key pair should include the private key. False
+ * otherwise.
* @return EC key pair
*/
public KeyPair toEC(boolean includePrivateParameters) {
- return toEC(includePrivateParameters, null);
+ return toEC(includePrivateParameters, null);
}
-
+
/**
- * Converts JSON web key to EC key pair and include the private key if set to true.
- * @param provider the Java security provider.
- * @param includePrivateParameters true if the EC key pair should include the private key. False otherwise.
- * @param provider Java security provider
+ * Converts JSON web key to EC key pair and include the private key if set to
+ * true.
+ *
+ * @param includePrivateParameters
+ * true if the EC key pair should include the private key. False
+ * otherwise.
+ * @param provider
+ * Java security provider
* @return EC key pair
*/
public KeyPair toEC(boolean includePrivateParameters, Provider provider) {
-
- if (provider == null) {
- //Our default provider for this class
- provider = Security.getProvider("SunEC");
- }
-
- if (!JsonWebKeyType.EC.equals(kty) && !JsonWebKeyType.EC_HSM.equals(kty)) {
- throw new IllegalArgumentException("Not an EC key.");
- }
-
- try {
- KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", provider);
-
- ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(crv));
- kpg.initialize(gps);
-
-
- // Generate dummy keypair to get parameter spec.
- KeyPair apair = kpg.generateKeyPair();
- ECPublicKey apub = (ECPublicKey) apair.getPublic();
- ECParameterSpec aspec = apub.getParams();
-
- ECPoint ecPoint = new ECPoint(new BigInteger(1, x), new BigInteger(1, y));
-
- KeyPair realKeyPair;
-
- if (includePrivateParameters) {
- realKeyPair = new KeyPair(getECPublicKey(ecPoint, aspec, provider), getECPrivateKey(d, aspec, provider));
- } else {
- realKeyPair = new KeyPair(getECPublicKey(ecPoint, aspec, provider), null);
- }
-
- return realKeyPair;
- } catch (GeneralSecurityException e) {
- throw new IllegalStateException(e);
- }
- }
-
+
+ if (provider == null) {
+ // Our default provider for this class
+ provider = Security.getProvider("SunEC");
+ }
+
+ if (!JsonWebKeyType.EC.equals(kty) && !JsonWebKeyType.EC_HSM.equals(kty)) {
+ throw new IllegalArgumentException("Not an EC key.");
+ }
+
+ try {
+ KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", provider);
+
+ ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(crv));
+ kpg.initialize(gps);
+
+ // Generate dummy keypair to get parameter spec.
+ KeyPair apair = kpg.generateKeyPair();
+ ECPublicKey apub = (ECPublicKey) apair.getPublic();
+ ECParameterSpec aspec = apub.getParams();
+
+ ECPoint ecPoint = new ECPoint(new BigInteger(1, x), new BigInteger(1, y));
+
+ KeyPair realKeyPair;
+
+ if (includePrivateParameters) {
+ realKeyPair = new KeyPair(getECPublicKey(ecPoint, aspec, provider),
+ getECPrivateKey(d, aspec, provider));
+ } else {
+ realKeyPair = new KeyPair(getECPublicKey(ecPoint, aspec, provider), null);
+ }
+
+ return realKeyPair;
+ } catch (GeneralSecurityException e) {
+ throw new IllegalStateException(e);
+ }
+ }
+
/**
* Converts EC key pair to JSON web key.
- * @param keyPair EC key pair
- * @param provider Java security provider
+ *
+ * @param keyPair
+ * EC key pair
+ * @param provider
+ * Java security provider
* @return the JSON web key, converted from EC key pair.
*/
- public static JsonWebKey fromEC(KeyPair keyPair, Provider provider) {
-
- ECPublicKey apub = (ECPublicKey) keyPair.getPublic();
- ECPoint point = apub.getW();
- ECPrivateKey apriv = (ECPrivateKey) keyPair.getPrivate();
-
- if (apriv != null) {
- return new JsonWebKey()
- .withKty(JsonWebKeyType.EC)
- .withCrv(getCurveFromKeyPair(keyPair, provider))
- .withX(point.getAffineX().toByteArray())
- .withY(point.getAffineY().toByteArray())
- .withD(apriv.getS().toByteArray())
- .withKty(JsonWebKeyType.EC);
- } else {
- return new JsonWebKey()
- .withKty(JsonWebKeyType.EC)
- .withCrv(getCurveFromKeyPair(keyPair, provider))
- .withX(point.getAffineX().toByteArray())
- .withY(point.getAffineY().toByteArray())
- .withKty(JsonWebKeyType.EC);
- }
- }
-
- // Matches the curve of the keyPair to supported curves.
- private static JsonWebKeyCurveName getCurveFromKeyPair(KeyPair keyPair, Provider provider) {
-
- try {
- ECPublicKey key = (ECPublicKey) keyPair.getPublic();
- ECParameterSpec spec = key.getParams();
- EllipticCurve crv = spec.getCurve();
-
- List curveList = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384, JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.SECP256K1);
-
- for (JsonWebKeyCurveName curve : curveList) {
- ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(curve));
- KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", provider);
- kpg.initialize(gps);
-
- // Generate dummy keypair to get parameter spec.
- KeyPair apair = kpg.generateKeyPair();
- ECPublicKey apub = (ECPublicKey) apair.getPublic();
- ECParameterSpec aspec = apub.getParams();
- EllipticCurve acurve = aspec.getCurve();
-
- //Matches the parameter spec
- if (acurve.equals(crv)) {
- return curve;
- }
- }
-
- //Did not find a supported curve.
- throw new NoSuchAlgorithmException("Curve not supported.");
- } catch (GeneralSecurityException e) {
- throw new IllegalStateException(e);
- }
- }
-
+ public static JsonWebKey fromEC(KeyPair keyPair, Provider provider) {
+
+ ECPublicKey apub = (ECPublicKey) keyPair.getPublic();
+ ECPoint point = apub.getW();
+ ECPrivateKey apriv = (ECPrivateKey) keyPair.getPrivate();
+
+ if (apriv != null) {
+ return new JsonWebKey().withKty(JsonWebKeyType.EC).withCrv(getCurveFromKeyPair(keyPair, provider))
+ .withX(point.getAffineX().toByteArray()).withY(point.getAffineY().toByteArray())
+ .withD(apriv.getS().toByteArray()).withKty(JsonWebKeyType.EC);
+ } else {
+ return new JsonWebKey().withKty(JsonWebKeyType.EC).withCrv(getCurveFromKeyPair(keyPair, provider))
+ .withX(point.getAffineX().toByteArray()).withY(point.getAffineY().toByteArray())
+ .withKty(JsonWebKeyType.EC);
+ }
+ }
+
+ // Matches the curve of the keyPair to supported curves.
+ private static JsonWebKeyCurveName getCurveFromKeyPair(KeyPair keyPair, Provider provider) {
+
+ try {
+ ECPublicKey key = (ECPublicKey) keyPair.getPublic();
+ ECParameterSpec spec = key.getParams();
+ EllipticCurve crv = spec.getCurve();
+
+ List curveList = Arrays.asList(JsonWebKeyCurveName.P_256, JsonWebKeyCurveName.P_384,
+ JsonWebKeyCurveName.P_521, JsonWebKeyCurveName.P_256K);
+
+ for (JsonWebKeyCurveName curve : curveList) {
+ ECGenParameterSpec gps = new ECGenParameterSpec(CURVE_TO_SPEC_NAME.get(curve));
+ KeyPairGenerator kpg = KeyPairGenerator.getInstance("EC", provider);
+ kpg.initialize(gps);
+
+ // Generate dummy keypair to get parameter spec.
+ KeyPair apair = kpg.generateKeyPair();
+ ECPublicKey apub = (ECPublicKey) apair.getPublic();
+ ECParameterSpec aspec = apub.getParams();
+ EllipticCurve acurve = aspec.getCurve();
+
+ // Matches the parameter spec
+ if (acurve.equals(crv)) {
+ return curve;
+ }
+ }
+
+ // Did not find a supported curve.
+ throw new NoSuchAlgorithmException("Curve not supported.");
+ } catch (GeneralSecurityException e) {
+ throw new IllegalStateException(e);
+ }
+ }
+
/**
* Converts AES key to JSON web key.
- * @param secretKey AES key
+ *
+ * @param secretKey
+ * AES key
* @return the JSON web key, converted from AES key.
*/
public static JsonWebKey fromAes(SecretKey secretKey) {
if (secretKey == null) {
return null;
}
-
- return new JsonWebKey()
- .withK(secretKey.getEncoded())
- .withKty(JsonWebKeyType.OCT);
+
+ return new JsonWebKey().withK(secretKey.getEncoded()).withKty(JsonWebKeyType.OCT);
}
-
+
/**
* Converts JSON web key to AES key.
+ *
* @return AES key
*/
public SecretKey toAes() {
if (k == null) {
return null;
}
-
+
SecretKey secretKey = new SecretKeySpec(k, "AES");
return secretKey;
}
-
+
@Override
public boolean equals(Object obj) {
if (obj == this) {
@@ -868,37 +909,40 @@ public boolean equals(Object obj) {
}
return super.equals(obj);
}
-
+
/**
* Indicates whether some other {@link JsonWebKey} is "equal to" this one.
- * @param jwk the other {@link JsonWebKey} to compare with.
- * @return true if this {@link JsonWebKey} is the same as the jwk argument; false otherwise.
+ *
+ * @param jwk
+ * the other {@link JsonWebKey} to compare with.
+ * @return true if this {@link JsonWebKey} is the same as the jwk argument;
+ * false otherwise.
*/
public boolean equals(JsonWebKey jwk) {
if (jwk == null) {
return false;
}
-
+
if (!Objects.equal(kid, jwk.kid)) {
return false;
}
-
+
if (!Objects.equal(kty, jwk.kty)) {
return false;
}
-
+
if (!Objects.equal(keyOps, jwk.keyOps)) {
return false;
}
-
+
if (!Objects.equal(crv, jwk.crv)) {
- return false;
+ return false;
}
-
+
if (!Arrays.equals(k, jwk.k)) {
return false;
}
-
+
// Public parameters
if (!Arrays.equals(n, jwk.n)) {
return false;
@@ -927,43 +971,45 @@ public boolean equals(JsonWebKey jwk) {
return false;
}
if (!Arrays.equals(x, jwk.x)) {
- return false;
+ return false;
}
if (!Arrays.equals(y, jwk.y)) {
- return false;
+ return false;
}
-
+
// HSM token
if (!Arrays.equals(t, jwk.t)) {
return false;
}
-
+
return true;
}
/**
* Verifies whether the {@link JsonWebKey} has private key.
+ *
* @return true if the {@link JsonWebKey} has private key; false otherwise.
*/
public boolean hasPrivateKey() {
-
+
if (JsonWebKeyType.OCT.equals(kty)) {
return k != null;
}
-
+
else if (JsonWebKeyType.RSA.equals(kty) || JsonWebKeyType.RSA_HSM.equals(kty)) {
return (d != null && dp != null && dq != null && qi != null && p != null && q != null);
}
-
- else if (JsonWebKeyType.EC.equals(kty) || JsonWebKeyType.EC_HSM.equals(kty)){
- return (d != null);
+
+ else if (JsonWebKeyType.EC.equals(kty) || JsonWebKeyType.EC_HSM.equals(kty)) {
+ return (d != null);
}
-
+
return false;
}
/**
* Verifies whether the {@link JsonWebKey} is valid.
+ *
* @return true if the {@link JsonWebKey} is valid; false otherwise.
*/
@JsonIgnore
@@ -971,7 +1017,7 @@ public boolean isValid() {
if (kty == null) {
return false;
}
-
+
if (keyOps != null) {
final Set set = new HashSet(JsonWebKeyOperation.ALL_OPERATIONS);
for (int i = 0; i < keyOps.size(); i++) {
@@ -980,27 +1026,27 @@ public boolean isValid() {
}
}
}
-
+
if (JsonWebKeyType.OCT.equals(kty)) {
return isValidOctet();
}
-
+
else if (JsonWebKeyType.RSA.equals(kty)) {
return isValidRsa();
}
-
+
else if (JsonWebKeyType.RSA_HSM.equals(kty)) {
return isValidRsaHsm();
}
-
+
else if (JsonWebKeyType.EC.equals(kty)) {
- return isValidEc();
+ return isValidEc();
}
-
+
else if (JsonWebKeyType.EC_HSM.equals(kty)) {
- return isValidEcHsm();
+ return isValidEcHsm();
}
-
+
return false;
}
@@ -1015,11 +1061,10 @@ private boolean isValidRsa() {
if (n == null || e == null) {
return false;
}
-
- return hasPrivateKey()
- || (d == null && dp == null && dq == null && qi == null && p == null && q == null);
+
+ return hasPrivateKey() || (d == null && dp == null && dq == null && qi == null && p == null && q == null);
}
-
+
private boolean isValidRsaHsm() {
// MAY have public key parameters
if ((n == null && e != null) || (n != null && e == null)) {
@@ -1030,9 +1075,9 @@ private boolean isValidRsaHsm() {
if (hasPrivateKey()) {
return false;
}
-
+
// MUST have ( T || ( N && E ) )
- boolean tokenParameters = t != null;
+ boolean tokenParameters = t != null;
boolean publicParameters = (n != null && e != null);
if (tokenParameters && publicParameters) {
@@ -1041,55 +1086,67 @@ private boolean isValidRsaHsm() {
return (tokenParameters || publicParameters);
}
-
+
private boolean isValidEc() {
- boolean ecPointParameters = (x != null && y != null);
- if (!ecPointParameters || crv == null) {
- return false;
- }
-
- return hasPrivateKey() || (d == null);
- }
-
+ boolean ecPointParameters = (x != null && y != null);
+ if (!ecPointParameters || crv == null) {
+ return false;
+ }
+
+ return hasPrivateKey() || (d == null);
+ }
+
private boolean isValidEcHsm() {
- // MAY have public key parameters
- boolean ecPointParameters = (x != null && y != null);
- if ((ecPointParameters && crv == null) || (!ecPointParameters && crv != null)) {
- return false;
- }
-
- // no private key
- if (hasPrivateKey()) {
- return false;
- }
-
- // MUST have (T || (ecPointParameters && crv))
- boolean publicParameters = (ecPointParameters && crv != null);
- boolean tokenParameters = t != null;
-
+ // MAY have public key parameters
+ boolean ecPointParameters = (x != null && y != null);
+ if ((ecPointParameters && crv == null) || (!ecPointParameters && crv != null)) {
+ return false;
+ }
+
+ // no private key
+ if (hasPrivateKey()) {
+ return false;
+ }
+
+ // MUST have (T || (ecPointParameters && crv))
+ boolean publicParameters = (ecPointParameters && crv != null);
+ boolean tokenParameters = t != null;
+
if (tokenParameters && publicParameters) {
return false;
}
return (tokenParameters || publicParameters);
}
-
+
/**
* Clear key materials.
*/
public void clearMemory() {
- zeroArray(k); k = null;
- zeroArray(n); n = null;
- zeroArray(e); e = null;
- zeroArray(d); d = null;
- zeroArray(dp); dp = null;
- zeroArray(dq); dq = null;
- zeroArray(qi); qi = null;
- zeroArray(p); p = null;
- zeroArray(q); q = null;
- zeroArray(t); t = null;
- zeroArray(x); x = null;
- zeroArray(y); y = null;
+ zeroArray(k);
+ k = null;
+ zeroArray(n);
+ n = null;
+ zeroArray(e);
+ e = null;
+ zeroArray(d);
+ d = null;
+ zeroArray(dp);
+ dp = null;
+ zeroArray(dq);
+ dq = null;
+ zeroArray(qi);
+ qi = null;
+ zeroArray(p);
+ p = null;
+ zeroArray(q);
+ q = null;
+ zeroArray(t);
+ t = null;
+ zeroArray(x);
+ x = null;
+ zeroArray(y);
+ y = null;
}
private static void zeroArray(byte[] bytes) {
@@ -1104,45 +1161,43 @@ public int hashCode() {
if (kid != null) {
hashCode += kid.hashCode();
}
-
+
if (JsonWebKeyType.OCT.equals(kty)) {
hashCode += hashCode(k);
}
-
+
else if (JsonWebKeyType.RSA.equals(kty)) {
hashCode += hashCode(n);
}
-
+
else if (JsonWebKeyType.EC.equals(kty)) {
- hashCode += hashCode(x);
- hashCode += hashCode(y);
- hashCode += crv.hashCode();
+ hashCode += hashCode(x);
+ hashCode += hashCode(y);
+ hashCode += crv.hashCode();
}
-
+
else if (JsonWebKeyType.RSA_HSM.equals(kty) || JsonWebKeyType.EC_HSM.equals(kty)) {
hashCode += hashCode(t);
}
-
+
return hashCode;
}
-
+
private static int hashCode(byte[] obj) {
int hashCode = 0;
-
+
if (obj == null || obj.length == 0) {
return 0;
}
-
+
for (int i = 0; i < obj.length; i++) {
hashCode = (hashCode << 3) | (hashCode >> 29) ^ obj[i];
}
return hashCode;
}
-
- private final static Map CURVE_TO_SPEC_NAME = ImmutableMap.builder()
- .put(JsonWebKeyCurveName.P_256, "secp256r1")
- .put(JsonWebKeyCurveName.P_384, "secp384r1")
- .put(JsonWebKeyCurveName.P_521, "secp521r1")
- .put(JsonWebKeyCurveName.SECP256K1, "secp256k1")
- .build();
+
+ private static final Map CURVE_TO_SPEC_NAME = ImmutableMap
+ .builder().put(JsonWebKeyCurveName.P_256, "secp256r1")
+ .put(JsonWebKeyCurveName.P_384, "secp384r1").put(JsonWebKeyCurveName.P_521, "secp521r1")
+ .put(JsonWebKeyCurveName.P_256K, "secp256k1").build();
}
\ No newline at end of file
diff --git a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyCurveName.java b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyCurveName.java
index d5db269..b12aa57 100644
--- a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyCurveName.java
+++ b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyCurveName.java
@@ -24,7 +24,7 @@ public final class JsonWebKeyCurveName {
public static final JsonWebKeyCurveName P_521 = new JsonWebKeyCurveName("P-521");
/** Static value SECP256K1 for JsonWebKeyCurveName. */
- public static final JsonWebKeyCurveName SECP256K1 = new JsonWebKeyCurveName("SECP256K1");
+ public static final JsonWebKeyCurveName P_256K = new JsonWebKeyCurveName("P-256K");
private String value;
diff --git a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyEncryptionAlgorithm.java b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyEncryptionAlgorithm.java
index ad3c888..6631fb4 100644
--- a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyEncryptionAlgorithm.java
+++ b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeyEncryptionAlgorithm.java
@@ -17,9 +17,9 @@
*/
public final class JsonWebKeyEncryptionAlgorithm {
- /** Static value RSA-OAEP for JsonWebKeyEncryptionAlgorithm. */
+ /** Static value RSA-OAEP for JsonWebKeyEncryptionAlgorithm. */
public static final JsonWebKeyEncryptionAlgorithm RSA_OAEP = new JsonWebKeyEncryptionAlgorithm("RSA-OAEP");
-
+
/** Static value RSA-OAEP-256 for JsonWebKeyEncryptionAlgorithm. */
public static final JsonWebKeyEncryptionAlgorithm RSA_OAEP_256 = new JsonWebKeyEncryptionAlgorithm("RSA-OAEP-256");
@@ -30,7 +30,9 @@ public final class JsonWebKeyEncryptionAlgorithm {
/**
* Creates a custom value for JsonWebKeyEncryptionAlgorithm.
- * @param value the custom value
+ *
+ * @param value
+ * the custom value
*/
public JsonWebKeyEncryptionAlgorithm(String value) {
this.value = value;
@@ -62,10 +64,10 @@ public boolean equals(Object obj) {
return value.equals(rhs.value);
}
}
-
+
/**
* All the JWK encryption algorithms.
*/
- public static final List ALL_ALGORITHMS =
- Collections.unmodifiableList(Arrays.asList(RSA_OAEP, RSA1_5, RSA_OAEP_256));
+ public static final List ALL_ALGORITHMS = Collections
+ .unmodifiableList(Arrays.asList(RSA_OAEP, RSA1_5, RSA_OAEP_256));
}
diff --git a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeySignatureAlgorithm.java b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeySignatureAlgorithm.java
index 199b804..7075d00 100644
--- a/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeySignatureAlgorithm.java
+++ b/azure-keyvault-webkey/src/main/java/com/microsoft/azure/keyvault/webkey/JsonWebKeySignatureAlgorithm.java
@@ -2,7 +2,7 @@
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
- */
+ **/
package com.microsoft.azure.keyvault.webkey;
@@ -17,7 +17,7 @@
*/
public final class JsonWebKeySignatureAlgorithm {
- /** Static value PS256 for JsonWebKeySignatureAlgorithm. */
+ /** Static value PS256 for JsonWebKeySignatureAlgorithm. */
public static final JsonWebKeySignatureAlgorithm PS256 = new JsonWebKeySignatureAlgorithm("PS256");
/** Static value PS384 for JsonWebKeySignatureAlgorithm. */
@@ -44,13 +44,15 @@ public final class JsonWebKeySignatureAlgorithm {
/** Static value ES512 for JsonWebKeySignatureAlgorithm. */
public static final JsonWebKeySignatureAlgorithm ES512 = new JsonWebKeySignatureAlgorithm("ES512");
/** Static value ECDSA256 for JsonWebKeySignatureAlgorithm. */
- public static final JsonWebKeySignatureAlgorithm ECDSA256 = new JsonWebKeySignatureAlgorithm("ECDSA256");
+ public static final JsonWebKeySignatureAlgorithm ES256K = new JsonWebKeySignatureAlgorithm("ES256K");
private String value;
/**
* Creates a custom value for JsonWebKeySignatureAlgorithm.
- * @param value the custom value
+ *
+ * @param value
+ * the custom value
*/
public JsonWebKeySignatureAlgorithm(String value) {
this.value = value;
@@ -86,6 +88,6 @@ public boolean equals(Object obj) {
/**
* All the JWK signature algorithms.
*/
- public static final List ALL_ALGORITHMS =
- Collections.unmodifiableList(Arrays.asList(RS256, RS384, RS512, RSNULL, PS256, PS384, PS512, ES256, ES384, ES512, ECDSA256));
+ public static final List ALL_ALGORITHMS = Collections.unmodifiableList(
+ Arrays.asList(RS256, RS384, RS512, RSNULL, PS256, PS384, PS512, ES256, ES384, ES512, ES256K));
}
diff --git a/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java b/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java
index 54b3738..a2f341d 100644
--- a/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java
+++ b/azure-keyvault-webkey/src/test/java/com/microsoft/azure/keyvault/webkey/test/EcValidationTests.java
@@ -96,20 +96,20 @@ private static void signVerify(PublicKey publicKey, PrivateKey privateKey, JsonW
.put(JsonWebKeyCurveName.P_256, "SHA-256")
.put(JsonWebKeyCurveName.P_384, "SHA-384")
.put(JsonWebKeyCurveName.P_521, "SHA-512")
- .put(JsonWebKeyCurveName.SECP256K1, "SHA-256")
+ .put(JsonWebKeyCurveName.P_256K, "SHA-256")
.build();
Map keys = ImmutableMap.builder()
.put(256, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AM_iqldq9VSqlf9v3w7lren4pJvZTG81v6_V5ZBLP7ZI\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256\",\"x\":\"KyjF795jLyVIgswKSQInEGYHNBKSKyPgNojEgYlldMI\",\"y\":\"AIl_ca1ZIKbJ5YGdgGr_7HySldI2aWeBaOImZEYIMpVe\"}")
.put(384, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AJEYT00mAfa-_uJ8S9ob0-9uZbPEr56CFebUQW9O-jZQBrtrMSPeqVbjJvTVlzOwbg\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-384\",\"x\":\"AKOdkhxTtVkLtaslZIOPQGnsdKRT2xo3Ynk-bnAVvTCf3iGrTpRiMxUmyq_tvzBLEg\",\"y\":\"QoHux2O2XGMh8w7a5sWwskAyCR0g3Lj7kPGuvnDq_bQ_-_VoTvsGMAe9MFexv68I\"}")
.put(521, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"AVW7TFJVOJ8jY5PqK0nnKyVYQwhkBEGKt0nhSZTS5io7U32dR7xZle77Gq6SpjrdFVa32jvGWgchlSguV3WKy3sj\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-521\",\"x\":\"AIDmImOrJNKOjOGp7wD8Dzi_uz-00E7cs8iN5SwBkzBXktyRrLDFS_SMwVdnIWpLcdJQn5sTGDS121DhjQA2i2dO\",\"y\":\"AWRoeIfIoRoEx8V9ijjwaco3V6vUPUYvKMKxtCPvm8iwhB7pZAI7-mODSfkb3rZo3gxuWoM3G7L66FttUlKSLK4w\"}")
- .put(265, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"YKv22AkpwBpKUcDodNhKhvI-bRpiWqoN8l0kNCo-Mds\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"SECP256K1\",\"x\":\"Yw9Sln8gYf_oiFY1anQm0V_WwsRaCIcEccfbhu5hSJo\",\"y\":\"AJq3JT2YldszaohHaS7LkngPWS9y0yAn7HhHb5p0IUDS\"}")
+ .put(265, "{\"kid\":\"key_id\",\"kty\":\"EC\",\"key_ops\":null,\"n\":null,\"e\":null,\"d\":\"YKv22AkpwBpKUcDodNhKhvI-bRpiWqoN8l0kNCo-Mds\",\"dp\":null,\"dq\":null,\"qi\":null,\"p\":null,\"q\":null,\"k\":null,\"key_hsm\":null,\"crv\":\"P-256K\",\"x\":\"Yw9Sln8gYf_oiFY1anQm0V_WwsRaCIcEccfbhu5hSJo\",\"y\":\"AJq3JT2YldszaohHaS7LkngPWS9y0yAn7HhHb5p0IUDS\"}")
.build();
public static final Map CURVE_TO_SIGNATURE = ImmutableMap.builder()
.put(JsonWebKeyCurveName.P_256, "SHA256withECDSA")
.put(JsonWebKeyCurveName.P_384, "SHA384withECDSA")
.put(JsonWebKeyCurveName.P_521, "SHA512withECDSA")
- .put(JsonWebKeyCurveName.SECP256K1, "NONEwithECDSA")
+ .put(JsonWebKeyCurveName.P_256K, "NONEwithECDSA")
.build();
}
diff --git a/azure-keyvault/pom.xml b/azure-keyvault/pom.xml
index e72f913..ee2adb5 100644
--- a/azure-keyvault/pom.xml
+++ b/azure-keyvault/pom.xml
@@ -6,7 +6,7 @@ the MIT License. See License.txt in the project root for license information. --
com.microsoft.azure
azure-keyvault-parent
- 1.1-beta-1
+ 1.1
../pom.xml
@@ -62,6 +62,7 @@ the MIT License. See License.txt in the project root for license information. --
com.microsoft.azure
azure
1.3.0
+ test
com.microsoft.azure
@@ -76,9 +77,16 @@ the MIT License. See License.txt in the project root for license information. --
com.microsoft.azure
azure-keyvault-cryptography
- 1.1-beta-1
+ 1.1
+ system
+ ${basedir}/../azure-keyvault-cryptography/target/azure-keyvault-cryptography-1.1.jar
+
+
+ com.microsoft.azure
+ azure-keyvault-core
+ 1.1
system
- ${basedir}/../azure-keyvault-cryptography/target/azure-keyvault-cryptography-1.1-beta-1.jar
+ ${basedir}/../azure-keyvault-core/target/azure-keyvault-core-1.1.jar
com.microsoft.azure
diff --git a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java
index c78460e..3d89362 100644
--- a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java
+++ b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateIdentifier.java
@@ -1,49 +1,49 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-
-package com.microsoft.azure.keyvault;
-
-/**
- * The certificate identifier.
- */
-public final class CertificateIdentifier extends ObjectIdentifier {
-
- /**
- * Verify whether the identifier is for certificate.
- * @param identifier the certificate identifier
- * @return true if the identifier is the certificate identifier. False otherwise.
- */
- public static boolean isCertificateIdentifier(String identifier) {
- return ObjectIdentifier.isObjectIdentifier("certificates", identifier);
- }
-
- /**
- * Constructor.
- * @param vault The vault url
- * @param name the certificate name
- */
- public CertificateIdentifier(String vault, String name) {
- this(vault, name, "");
- }
-
- /**
- * Constructor.
- * @param vault the vault url
- * @param name the certificate name
- * @param version the certificate version
- */
- public CertificateIdentifier(String vault, String name, String version) {
- super(vault, "certificates", name, version);
- }
-
- /**
- * Constructor.
- * @param identifier the certificate identifier
- */
- public CertificateIdentifier(String identifier) {
- super("certificates", identifier);
- }
-}
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+
+package com.microsoft.azure.keyvault;
+
+/**
+ * The certificate identifier.
+ */
+public final class CertificateIdentifier extends ObjectIdentifier {
+
+ /**
+ * Verify whether the identifier is for certificate.
+ * @param identifier the certificate identifier
+ * @return true if the identifier is the certificate identifier. False otherwise.
+ */
+ public static boolean isCertificateIdentifier(String identifier) {
+ return ObjectIdentifier.isObjectIdentifier("certificates", identifier);
+ }
+
+ /**
+ * Constructor.
+ * @param vault The vault url
+ * @param name the certificate name
+ */
+ public CertificateIdentifier(String vault, String name) {
+ this(vault, name, "");
+ }
+
+ /**
+ * Constructor.
+ * @param vault the vault url
+ * @param name the certificate name
+ * @param version the certificate version
+ */
+ public CertificateIdentifier(String vault, String name, String version) {
+ super(vault, "certificates", name, version);
+ }
+
+ /**
+ * Constructor.
+ * @param identifier the certificate identifier
+ */
+ public CertificateIdentifier(String identifier) {
+ super("certificates", identifier);
+ }
+}
diff --git a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java
index ed88be4..df61440 100644
--- a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java
+++ b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/CertificateOperationIdentifier.java
@@ -1,70 +1,70 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-
-package com.microsoft.azure.keyvault;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-
-/**
- * The certificate operation identifier.
- */
-public final class CertificateOperationIdentifier extends ObjectIdentifier {
-
- /**
- * Verifies whether the identifier belongs to a key vault certificate operation.
- * @param identifier the key vault certificate operation identifier.
- * @return true if the identifier belongs to a key vault certificate operation. False otherwise.
- */
- public static boolean isCertificateOperationIdentifier(String identifier) {
- identifier = verifyNonEmpty(identifier, "identifier");
-
- URI baseUri;
- try {
- baseUri = new URI(identifier);
- } catch (URISyntaxException e) {
- return false;
- }
-
- // Path is of the form "/certificates/[name]/pending"
- String[] segments = baseUri.getPath().split("/");
- if (segments.length != 4) {
- return false;
- }
-
- if (!(segments[1]).equals("certificates")) {
- return false;
- }
-
- if (!(segments[3]).equals("pending")) {
- return false;
- }
-
- return true;
- }
-
- /**
- * Constructor.
- * @param vault the vault url
- * @param name the name of certificate
- * @param version the certificate version
- */
- public CertificateOperationIdentifier(String vault, String name, String version) {
- super(vault, "certificates", name, "pending");
- }
-
- /**
- * Constructor.
- * @param identifier the key vault certificate operation identifier.
- */
- public CertificateOperationIdentifier(String identifier) {
- super("certificates", identifier);
- if (!version().equals("pending")) {
- throw new IllegalArgumentException(
- String.format("Invalid CertificateOperationIdentifier: {0}", identifier));
- }
- }
-}
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+
+package com.microsoft.azure.keyvault;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+
+/**
+ * The certificate operation identifier.
+ */
+public final class CertificateOperationIdentifier extends ObjectIdentifier {
+
+ /**
+ * Verifies whether the identifier belongs to a key vault certificate operation.
+ * @param identifier the key vault certificate operation identifier.
+ * @return true if the identifier belongs to a key vault certificate operation. False otherwise.
+ */
+ public static boolean isCertificateOperationIdentifier(String identifier) {
+ identifier = verifyNonEmpty(identifier, "identifier");
+
+ URI baseUri;
+ try {
+ baseUri = new URI(identifier);
+ } catch (URISyntaxException e) {
+ return false;
+ }
+
+ // Path is of the form "/certificates/[name]/pending"
+ String[] segments = baseUri.getPath().split("/");
+ if (segments.length != 4) {
+ return false;
+ }
+
+ if (!(segments[1]).equals("certificates")) {
+ return false;
+ }
+
+ if (!(segments[3]).equals("pending")) {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Constructor.
+ * @param vault the vault url
+ * @param name the name of certificate
+ * @param version the certificate version
+ */
+ public CertificateOperationIdentifier(String vault, String name, String version) {
+ super(vault, "certificates", name, "pending");
+ }
+
+ /**
+ * Constructor.
+ * @param identifier the key vault certificate operation identifier.
+ */
+ public CertificateOperationIdentifier(String identifier) {
+ super("certificates", identifier);
+ if (!version().equals("pending")) {
+ throw new IllegalArgumentException(
+ String.format("Invalid CertificateOperationIdentifier: {0}", identifier));
+ }
+ }
+}
diff --git a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java
index 6d50e9c..71c88d9 100644
--- a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java
+++ b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/IssuerIdentifier.java
@@ -1,106 +1,106 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-
-package com.microsoft.azure.keyvault;
-
-import java.net.URI;
-import java.net.URISyntaxException;
-import java.security.InvalidParameterException;
-
-/**
- * The issuer identifier.
- */
-public final class IssuerIdentifier extends ObjectIdentifier {
-
- /**
- * Verifies whether the identifier belongs to a key vault issuer.
- * @param identifier the key vault issuer identifier.
- * @return true if the identifier belongs to a key vault issuer. False otherwise.
- */
- public static boolean isIssuerIdentifier(String identifier) {
- identifier = verifyNonEmpty(identifier, "identifier");
-
- URI baseUri;
- try {
- baseUri = new URI(identifier);
- } catch (URISyntaxException e) {
- return false;
- }
-
- String[] segments = baseUri.getPath().split("/");
- if (segments.length != 4 || segments[1] != "certificates" || segments[2] != "issuers") {
- return false;
- }
-
- return true;
- }
-
- /**
- * Constructor.
- * @param vault the vault url.
- * @param name the name of issuer.
- */
- public IssuerIdentifier(String vault, String name) {
- vault = verifyNonEmpty(vault, "vault");
-
- name = verifyNonEmpty(name, "name");
-
- URI baseUri;
- try {
- baseUri = new URI(vault);
- } catch (URISyntaxException e) {
- throw new InvalidParameterException(String.format("Invalid ObjectIdentifier: %s. Not a valid URI", vault));
- }
-
- this.name = name;
- this.version = null;
- this.vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri));
-
- baseIdentifier = String.format("%s/%s/%s", this.vault, "certificates/issuers", this.name);
- identifier = baseIdentifier;
- }
-
- /**
- * Constructor.
- * @param identifier the key vault issuer identifier.
- */
- public IssuerIdentifier(String identifier) {
-
- identifier = verifyNonEmpty(identifier, "identifier");
-
- URI baseUri;
- try {
- baseUri = new URI(identifier);
- } catch (URISyntaxException e) {
- throw new InvalidParameterException(
- String.format("Invalid ObjectIdentifier: %s. Not a valid URI", identifier));
- }
-
- // Path is of the form "/collection/name[/version]"
- String[] segments = baseUri.getPath().split("/");
- if (segments.length != 4) {
- throw new InvalidParameterException(String
- .format("Invalid ObjectIdentifier: %s. Bad number of segments: %d", identifier, segments.length));
- }
-
- if (!segments[1].equals("certificates")) {
- throw new InvalidParameterException(
- String.format("Invalid ObjectIdentifier: %s. Segment [1] should be '%s', found '%s'", identifier,
- "certificates", segments[1]));
- }
- if (!segments[2].equals("issuers")) {
- throw new InvalidParameterException(
- String.format("Invalid ObjectIdentifier: %s. Segment [2] should be '%s', found '%s'", identifier,
- "issuers", segments[2]));
- }
-
- name = segments[3];
- version = "";
- vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri));
- baseIdentifier = String.format("%s/%s/%s", vault, "certificates/issuers", name);
- this.identifier = baseIdentifier;
- }
-}
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+
+package com.microsoft.azure.keyvault;
+
+import java.net.URI;
+import java.net.URISyntaxException;
+import java.security.InvalidParameterException;
+
+/**
+ * The issuer identifier.
+ */
+public final class IssuerIdentifier extends ObjectIdentifier {
+
+ /**
+ * Verifies whether the identifier belongs to a key vault issuer.
+ * @param identifier the key vault issuer identifier.
+ * @return true if the identifier belongs to a key vault issuer. False otherwise.
+ */
+ public static boolean isIssuerIdentifier(String identifier) {
+ identifier = verifyNonEmpty(identifier, "identifier");
+
+ URI baseUri;
+ try {
+ baseUri = new URI(identifier);
+ } catch (URISyntaxException e) {
+ return false;
+ }
+
+ String[] segments = baseUri.getPath().split("/");
+ if (segments.length != 4 || segments[1] != "certificates" || segments[2] != "issuers") {
+ return false;
+ }
+
+ return true;
+ }
+
+ /**
+ * Constructor.
+ * @param vault the vault url.
+ * @param name the name of issuer.
+ */
+ public IssuerIdentifier(String vault, String name) {
+ vault = verifyNonEmpty(vault, "vault");
+
+ name = verifyNonEmpty(name, "name");
+
+ URI baseUri;
+ try {
+ baseUri = new URI(vault);
+ } catch (URISyntaxException e) {
+ throw new InvalidParameterException(String.format("Invalid ObjectIdentifier: %s. Not a valid URI", vault));
+ }
+
+ this.name = name;
+ this.version = null;
+ this.vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri));
+
+ baseIdentifier = String.format("%s/%s/%s", this.vault, "certificates/issuers", this.name);
+ identifier = baseIdentifier;
+ }
+
+ /**
+ * Constructor.
+ * @param identifier the key vault issuer identifier.
+ */
+ public IssuerIdentifier(String identifier) {
+
+ identifier = verifyNonEmpty(identifier, "identifier");
+
+ URI baseUri;
+ try {
+ baseUri = new URI(identifier);
+ } catch (URISyntaxException e) {
+ throw new InvalidParameterException(
+ String.format("Invalid ObjectIdentifier: %s. Not a valid URI", identifier));
+ }
+
+ // Path is of the form "/collection/name[/version]"
+ String[] segments = baseUri.getPath().split("/");
+ if (segments.length != 4) {
+ throw new InvalidParameterException(String
+ .format("Invalid ObjectIdentifier: %s. Bad number of segments: %d", identifier, segments.length));
+ }
+
+ if (!segments[1].equals("certificates")) {
+ throw new InvalidParameterException(
+ String.format("Invalid ObjectIdentifier: %s. Segment [1] should be '%s', found '%s'", identifier,
+ "certificates", segments[1]));
+ }
+ if (!segments[2].equals("issuers")) {
+ throw new InvalidParameterException(
+ String.format("Invalid ObjectIdentifier: %s. Segment [2] should be '%s', found '%s'", identifier,
+ "issuers", segments[2]));
+ }
+
+ name = segments[3];
+ version = "";
+ vault = String.format("%s://%s", baseUri.getScheme(), getFullAuthority(baseUri));
+ baseIdentifier = String.format("%s/%s/%s", vault, "certificates/issuers", name);
+ this.identifier = baseIdentifier;
+ }
+}
diff --git a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java
index 67dcd6f..493f409 100644
--- a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java
+++ b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyIdentifier.java
@@ -1,49 +1,49 @@
-/**
- * Copyright (c) Microsoft Corporation. All rights reserved.
- * Licensed under the MIT License. See License.txt in the project root for
- * license information.
- */
-
-package com.microsoft.azure.keyvault;
-
-/**
- * The Key Vault key identifier.
- */
-public final class KeyIdentifier extends ObjectIdentifier {
-
- /**
- * Verifies whether the identifier belongs to a key vault key.
- * @param identifier the key vault key identifier.
- * @return true if the identifier belongs to a key vault key. False otherwise.
- */
- public static boolean isKeyIdentifier(String identifier) {
- return ObjectIdentifier.isObjectIdentifier("keys", identifier);
- }
-
- /**
- * Constructor.
- * @param vault the vault url.
- * @param name the name of key.
- */
- public KeyIdentifier(String vault, String name) {
- this(vault, name, "");
- }
-
- /**
- * Constructor.
- * @param vault the vault url.
- * @param name the name of key.
- * @param version the key version.
- */
- public KeyIdentifier(String vault, String name, String version) {
- super(vault, "keys", name, version);
- }
-
- /**
- * Constructor.
- * @param identifier the key vault key identifier.
- */
- public KeyIdentifier(String identifier) {
- super("keys", identifier);
- }
-}
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+
+package com.microsoft.azure.keyvault;
+
+/**
+ * The Key Vault key identifier.
+ */
+public final class KeyIdentifier extends ObjectIdentifier {
+
+ /**
+ * Verifies whether the identifier belongs to a key vault key.
+ * @param identifier the key vault key identifier.
+ * @return true if the identifier belongs to a key vault key. False otherwise.
+ */
+ public static boolean isKeyIdentifier(String identifier) {
+ return ObjectIdentifier.isObjectIdentifier("keys", identifier);
+ }
+
+ /**
+ * Constructor.
+ * @param vault the vault url.
+ * @param name the name of key.
+ */
+ public KeyIdentifier(String vault, String name) {
+ this(vault, name, "");
+ }
+
+ /**
+ * Constructor.
+ * @param vault the vault url.
+ * @param name the name of key.
+ * @param version the key version.
+ */
+ public KeyIdentifier(String vault, String name, String version) {
+ super(vault, "keys", name, version);
+ }
+
+ /**
+ * Constructor.
+ * @param identifier the key vault key identifier.
+ */
+ public KeyIdentifier(String identifier) {
+ super("keys", identifier);
+ }
+}
diff --git a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java
index cced528..58e8bd3 100644
--- a/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java
+++ b/azure-keyvault/src/main/java/com/microsoft/azure/keyvault/KeyVaultClient.java
@@ -1,29 +1,39 @@
-package com.microsoft.azure.keyvault;
-
-import com.microsoft.azure.keyvault.implementation.KeyVaultClientCustomImpl;
-import com.microsoft.rest.RestClient;
-import com.microsoft.rest.credentials.ServiceClientCredentials;
-
-public final class KeyVaultClient extends KeyVaultClientCustomImpl implements KeyVaultClientCustom {
-
- /**
- * Initializes an instance of KeyVaultClient client.
- *
- * @param credentials the management credentials for Azure
- */
- public KeyVaultClient(ServiceClientCredentials credentials) {
- super(credentials);
- initializeService();
- }
- /**
- * Initializes an instance of KeyVaultClient client.
- *
- * @param restClient the REST client to connect to Azure.
- */
- public KeyVaultClient(RestClient restClient) {
- super(restClient);
- initializeService();
- }
-
-
+/**
+ * Copyright (c) Microsoft Corporation. All rights reserved.
+ * Licensed under the MIT License. See License.txt in the project root for
+ * license information.
+ */
+
+package com.microsoft.azure.keyvault;
+
+import com.microsoft.azure.keyvault.implementation.KeyVaultClientCustomImpl;
+import com.microsoft.rest.RestClient;
+import com.microsoft.rest.credentials.ServiceClientCredentials;
+
+/**
+ * Class for Key Vault Client.
+ *
+ */
+public final class KeyVaultClient extends KeyVaultClientCustomImpl implements KeyVaultClientCustom {
+
+ /**
+ * Initializes an instance of KeyVaultClient client.
+ *
+ * @param credentials the management credentials for Azure
+ */
+ public KeyVaultClient(ServiceClientCredentials credentials) {
+ super(credentials);
+ initializeService();
+ }
+ /**
+ * Initializes an instance of KeyVaultClient client.
+ *
+ * @param restClient the REST client to connect to Azure.
+ */
+ public KeyVaultClient(RestClient restClient) {
+ super(restClient);
+ initializeService();
+ }
+
+
}
\ No newline at end of file
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 4e35066..72f4752 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,6123 +1,6124 @@
-/**
- * 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.BackupCertificateResult;
-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;
-import com.microsoft.azure.keyvault.models.CertificateItem;
-import com.microsoft.azure.keyvault.models.CertificateOperation;
-import com.microsoft.azure.keyvault.models.CertificatePolicy;
-import com.microsoft.azure.keyvault.models.Contacts;
-import com.microsoft.azure.keyvault.models.DeletedCertificateBundle;
-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;
-import com.microsoft.azure.keyvault.webkey.JsonWebKey;
-import com.microsoft.azure.keyvault.models.JsonWebKeyCurveName;
-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;
-import com.microsoft.azure.keyvault.models.KeyAttributes;
-import com.microsoft.azure.keyvault.models.KeyBundle;
-import com.microsoft.azure.keyvault.models.KeyItem;
-import com.microsoft.azure.keyvault.models.KeyOperationResult;
-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.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.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;
-
-/**
- * The interface for KeyVaultClientBase class.
- */
-public interface KeyVaultClientBase {
- /**
- * Gets the REST client.
- *
- * @return the {@link RestClient} object.
- */
- RestClient restClient();
-
- /**
- * Gets the {@link AzureClient} used for long running operations.
- * @return the azure client;
- */
- AzureClient getAzureClient();
-
- /**
- * Gets the User-Agent header for the client.
- *
- * @return the user agent string.
- */
- String userAgent();
-
- /**
- * Gets Client API version..
- *
- * @return the apiVersion value.
- */
- String apiVersion();
-
- /**
- * Gets Gets or sets the preferred language for the response..
- *
- * @return the acceptLanguage value.
- */
- String acceptLanguage();
-
- /**
- * Sets Gets or sets the preferred language for the response..
- *
- * @param acceptLanguage the acceptLanguage value.
- * @return the service client itself
- */
- KeyVaultClientBase withAcceptLanguage(String acceptLanguage);
-
- /**
- * Gets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
- *
- * @return the longRunningOperationRetryTimeout value.
- */
- int longRunningOperationRetryTimeout();
-
- /**
- * Sets Gets or sets the retry timeout in seconds for Long Running Operations. Default value is 30..
- *
- * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value.
- * @return the service client itself
- */
- KeyVaultClientBase withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout);
-
- /**
- * Gets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
- *
- * @return the generateClientRequestId value.
- */
- boolean generateClientRequestId();
-
- /**
- * Sets When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true..
- *
- * @param generateClientRequestId the generateClientRequestId value.
- * @return the service client itself
- */
- KeyVaultClientBase withGenerateClientRequestId(boolean generateClientRequestId);
-
- /**
- * 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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @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 KeyBundle object if successful.
- */
- KeyBundle createKey(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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @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 createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable createKeyAsync(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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- 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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @param keySize The key size in bytes. For example, 1024 or 2048.
- * @param keyOps the List<JsonWebKeyOperation> value
- * @param keyAttributes the KeyAttributes value
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'SECP256K1'
- * @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 KeyBundle object if successful.
- */
- KeyBundle createKey(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve);
-
- /**
- * 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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @param keySize The key size in bytes. For example, 1024 or 2048.
- * @param keyOps the List<JsonWebKeyOperation> value
- * @param keyAttributes the KeyAttributes value
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'SECP256K1'
- * @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 createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @param keySize The key size in bytes. For example, 1024 or 2048.
- * @param keyOps the List<JsonWebKeyOperation> value
- * @param keyAttributes the KeyAttributes value
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'SECP256K1'
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable createKeyAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve);
-
- /**
- * 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. 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.
- * @param kty The type of key to create. For valid values, see JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM', 'oct'
- * @param keySize The key size in bytes. For example, 1024 or 2048.
- * @param keyOps the List<JsonWebKeyOperation> value
- * @param keyAttributes the KeyAttributes value
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param curve Elliptic curve name. For valid values, see JsonWebKeyCurveName. Possible values include: 'P-256', 'P-384', 'P-521', 'SECP256K1'
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable> createKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKeyType kty, Integer keySize, List keyOps, KeyAttributes keyAttributes, Map tags, JsonWebKeyCurveName curve);
-
- /**
- * 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. 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.
- * @param key The Json web 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
- * @return the KeyBundle object if successful.
- */
- KeyBundle importKey(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. 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.
- * @param key The Json web 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
- */
- ServiceFuture importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param key The Json web key
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable importKeyAsync(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. 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.
- * @param key The Json web key
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- 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. 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.
- * @param key The Json web key
- * @param hsm Whether to import as a hardware key (HSM) or software key.
- * @param keyAttributes The key management attributes.
- * @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 KeyBundle object if successful.
- */
- KeyBundle importKey(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags);
-
- /**
- * 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. 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.
- * @param key The Json web key
- * @param hsm Whether to import as a hardware key (HSM) or software key.
- * @param keyAttributes The key management attributes.
- * @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 importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param key The Json web key
- * @param hsm Whether to import as a hardware key (HSM) or software key.
- * @param keyAttributes The key management attributes.
- * @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 KeyBundle object
- */
- Observable importKeyAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags);
-
- /**
- * 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. 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.
- * @param key The Json web key
- * @param hsm Whether to import as a hardware key (HSM) or software key.
- * @param keyAttributes The key management attributes.
- * @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 KeyBundle object
- */
- Observable> importKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, JsonWebKey key, Boolean hsm, KeyAttributes keyAttributes, Map tags);
-
- /**
- * 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. 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.
- * @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 DeletedKeyBundle object if successful.
- */
- DeletedKeyBundle deleteKey(String vaultBaseUrl, String keyName);
-
- /**
- * 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. 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.
- * @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 deleteKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedKeyBundle object
- */
- Observable deleteKeyAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedKeyBundle object
- */
- Observable> deleteKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key to update.
- * @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 KeyBundle object if successful.
- */
- KeyBundle updateKey(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. 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.
- * @param keyVersion The version of the key to update.
- * @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 updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key to update.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable updateKeyAsync(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. 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.
- * @param keyVersion The version of the key to update.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- 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. 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.
- * @param keyVersion The version of the key to update.
- * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.
- * @param keyAttributes the KeyAttributes value
- * @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 KeyBundle object if successful.
- */
- KeyBundle updateKey(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key to update.
- * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.
- * @param keyAttributes the KeyAttributes value
- * @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 updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key to update.
- * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.
- * @param keyAttributes the KeyAttributes value
- * @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 KeyBundle object
- */
- Observable updateKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key to update.
- * @param keyOps Json web key operations. For more information on possible key operations, see JsonWebKeyOperation.
- * @param keyAttributes the KeyAttributes value
- * @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 KeyBundle object
- */
- Observable> updateKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, List keyOps, KeyAttributes keyAttributes, Map tags);
-
- /**
- * 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. 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.
- * @param keyVersion Adding the version parameter retrieves a specific version of a 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
- * @return the KeyBundle object if successful.
- */
- KeyBundle getKey(String vaultBaseUrl, String keyName, String keyVersion);
-
- /**
- * 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. 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.
- * @param keyVersion Adding the version parameter retrieves a specific version of a 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
- */
- ServiceFuture getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion Adding the version parameter retrieves a specific version of a key.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable getKeyAsync(String vaultBaseUrl, String keyName, String keyVersion);
-
- /**
- * 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. 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.
- * @param keyVersion Adding the version parameter retrieves a specific version of a key.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable> getKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion);
-
- /**
- * Retrieves a list of individual key versions with the same key name.
- * 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.
- * @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.
- */
- PagedList getKeyVersions(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. 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.
- * @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> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
- */
- Observable> getKeyVersionsAsync(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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
- */
- 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. 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.
- * @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.
- */
- PagedList getKeyVersions(final String vaultBaseUrl, final String keyName, final Integer maxresults);
-
- /**
- * Retrieves a list of individual key versions with the same key name.
- * 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.
- * @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> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults, 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. 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.
- * @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
- */
- Observable> getKeyVersionsAsync(final String vaultBaseUrl, final String keyName, final Integer maxresults);
-
- /**
- * Retrieves a list of individual key versions with the same key name.
- * 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.
- * @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
- */
- Observable>> getKeyVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String keyName, 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. 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
- * @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.
- */
- PagedList getKeys(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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getKeysAsync(final String vaultBaseUrl, 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. 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
- * @return the observable to the PagedList<KeyItem> object
- */
- Observable> getKeysAsync(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. 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
- * @return the observable to the PagedList<KeyItem> object
- */
- 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. 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.
- * @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.
- */
- PagedList getKeys(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. 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.
- * @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> getKeysAsync(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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
- */
- Observable> getKeysAsync(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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<KeyItem> object
- */
- Observable>> getKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * 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. 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.
- * @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 BackupKeyResult object if successful.
- */
- BackupKeyResult backupKey(String vaultBaseUrl, String keyName);
-
- /**
- * 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. 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.
- * @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 backupKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the BackupKeyResult object
- */
- Observable backupKeyAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the BackupKeyResult object
- */
- Observable> backupKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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. 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.
- * @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 KeyBundle object if successful.
- */
- KeyBundle restoreKey(String vaultBaseUrl, byte[] keyBundleBackup);
-
- /**
- * 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. 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.
- * @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 restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable restoreKeyAsync(String vaultBaseUrl, byte[] keyBundleBackup);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable> restoreKeyWithServiceResponseAsync(String vaultBaseUrl, byte[] keyBundleBackup);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 KeyOperationResult object if successful.
- */
- KeyOperationResult encrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable encryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable> encryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 KeyOperationResult object if successful.
- */
- KeyOperationResult decrypt(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable decryptAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable> decryptWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param value the Base64Url value
- * @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 KeyOperationResult object if successful.
- */
- KeyOperationResult sign(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param value the Base64Url value
- * @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 signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable signAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm identifier. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable> signWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param digest The digest used for signing.
- * @param signature The signature to be verified.
- * @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 KeyVerifyResult object if successful.
- */
- KeyVerifyResult verify(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param digest The digest used for signing.
- * @param signature The signature to be verified.
- * @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 verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param digest The digest used for signing.
- * @param signature The signature to be verified.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyVerifyResult object
- */
- Observable verifyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm The signing/verification algorithm. For more information on possible algorithm types, see JsonWebKeySignatureAlgorithm. Possible values include: 'PS256', 'PS384', 'PS512', 'RS256', 'RS384', 'RS512', 'RSNULL', 'ES256', 'ES384', 'ES512', 'ECDSA256'
- * @param digest The digest used for signing.
- * @param signature The signature to be verified.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyVerifyResult object
- */
- Observable> verifyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeySignatureAlgorithm algorithm, byte[] digest, byte[] signature);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 KeyOperationResult object if successful.
- */
- KeyOperationResult wrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable wrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable> wrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 KeyOperationResult object if successful.
- */
- KeyOperationResult unwrapKey(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @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 unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable unwrapKeyAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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. 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.
- * @param keyVersion The version of the key.
- * @param algorithm algorithm identifier. Possible values include: 'RSA-OAEP', 'RSA-OAEP-256', 'RSA1_5'
- * @param value the Base64Url value
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyOperationResult object
- */
- Observable> unwrapKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName, String keyVersion, JsonWebKeyEncryptionAlgorithm algorithm, byte[] value);
-
- /**
- * 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
- * @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.
- */
- PagedList getDeletedKeys(final String vaultBaseUrl);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getDeletedKeysAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
-
- /**
- * 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
- * @return the observable to the PagedList<DeletedKeyItem> object
- */
- Observable> getDeletedKeysAsync(final String vaultBaseUrl);
-
- /**
- * 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
- * @return the observable to the PagedList<DeletedKeyItem> object
- */
- Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl);
- /**
- * 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.
- * @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.
- */
- PagedList getDeletedKeys(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * 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.
- * @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> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedKeyItem> object
- */
- Observable> getDeletedKeysAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedKeyItem> object
- */
- Observable>> getDeletedKeysWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * 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.
- * @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 DeletedKeyBundle object if successful.
- */
- DeletedKeyBundle getDeletedKey(String vaultBaseUrl, String keyName);
-
- /**
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture getDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedKeyBundle object
- */
- Observable getDeletedKeyAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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.
- * @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.
- * 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
- * @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
- */
- void purgeDeletedKey(String vaultBaseUrl, String keyName);
-
- /**
- * 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
- * @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 purgeDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
-
- /**
- * 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
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceResponse} object if successful.
- */
- Observable purgeDeletedKeyAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceResponse} object if successful.
- */
- Observable> purgeDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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.
- * @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 KeyBundle object if successful.
- */
- KeyBundle recoverDeletedKey(String vaultBaseUrl, String keyName);
-
- /**
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture recoverDeletedKeyAsync(String vaultBaseUrl, String keyName, final ServiceCallback serviceCallback);
-
- /**
- * 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.
- * @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 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the KeyBundle object
- */
- Observable> recoverDeletedKeyWithServiceResponseAsync(String vaultBaseUrl, String keyName);
-
- /**
- * 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. 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.
- * @param value The value 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
- * @return the SecretBundle object if successful.
- */
- SecretBundle setSecret(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. 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.
- * @param value The value 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
- */
- ServiceFuture setSecretAsync(String vaultBaseUrl, String secretName, String value, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param value The value of the secret.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable setSecretAsync(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. 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.
- * @param value The value of the secret.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- 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. 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.
- * @param value The value of the secret.
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @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 SecretBundle object if successful.
- */
- SecretBundle setSecret(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes);
-
- /**
- * 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. 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.
- * @param value The value of the secret.
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @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 setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param value The value of the secret.
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable setSecretAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes);
-
- /**
- * 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. 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.
- * @param value The value of the secret.
- * @param tags Application specific metadata in the form of key-value pairs.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable> setSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String value, Map tags, String contentType, SecretAttributes secretAttributes);
-
- /**
- * 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. 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.
- * @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 DeletedSecretBundle object if successful.
- */
- DeletedSecretBundle deleteSecret(String vaultBaseUrl, String secretName);
-
- /**
- * 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. 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.
- * @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 deleteSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedSecretBundle object
- */
- Observable deleteSecretAsync(String vaultBaseUrl, String secretName);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedSecretBundle object
- */
- Observable> deleteSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName);
-
- /**
- * 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. 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.
- * @param secretVersion The version 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
- * @return the SecretBundle object if successful.
- */
- SecretBundle updateSecret(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. 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.
- * @param secretVersion The version 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
- */
- ServiceFuture updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param secretVersion The version of the secret.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable updateSecretAsync(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. 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.
- * @param secretVersion The version of the secret.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- 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. 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.
- * @param secretVersion The version of the secret.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @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 SecretBundle object if successful.
- */
- SecretBundle updateSecret(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags);
-
- /**
- * 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. 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.
- * @param secretVersion The version of the secret.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @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 updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @param secretVersion The version of the secret.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @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 SecretBundle object
- */
- Observable updateSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags);
-
- /**
- * 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. 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.
- * @param secretVersion The version of the secret.
- * @param contentType Type of the secret value such as a password.
- * @param secretAttributes The secret management attributes.
- * @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 SecretBundle object
- */
- Observable> updateSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion, String contentType, SecretAttributes secretAttributes, Map tags);
-
- /**
- * Get a specified secret from a given 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.
- * @param secretVersion The version 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
- * @return the SecretBundle object if successful.
- */
- SecretBundle getSecret(String vaultBaseUrl, String secretName, String secretVersion);
-
- /**
- * Get a specified secret from a given 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.
- * @param secretVersion The version 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
- */
- ServiceFuture getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion, final ServiceCallback serviceCallback);
-
- /**
- * Get a specified secret from a given 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.
- * @param secretVersion The version of the secret.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable getSecretAsync(String vaultBaseUrl, String secretName, String secretVersion);
-
- /**
- * Get a specified secret from a given 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.
- * @param secretVersion The version of the secret.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable> getSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName, String secretVersion);
-
- /**
- * List secrets in a specified key vault.
- * 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
- * @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 getSecrets(final String vaultBaseUrl);
-
- /**
- * List secrets in a specified key vault.
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
-
- /**
- * List secrets in a specified key vault.
- * 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
- * @return the observable to the PagedList<SecretItem> object
- */
- Observable> getSecretsAsync(final String vaultBaseUrl);
-
- /**
- * List secrets in a specified key vault.
- * 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
- * @return the observable to the PagedList<SecretItem> object
- */
- Observable>> getSecretsWithServiceResponseAsync(final String vaultBaseUrl);
- /**
- * List secrets in a specified key vault.
- * 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.
- * @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 getSecrets(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * List secrets in a specified key vault.
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
-
- /**
- * List secrets in a specified key vault.
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<SecretItem> object
- */
- Observable> getSecretsAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * List secrets in a specified key vault.
- * 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.
- * @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 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.
- * @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 getSecretVersions(final String vaultBaseUrl, final String secretName);
-
- /**
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final ListOperationCallback serviceCallback);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<SecretItem> object
- */
- Observable> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<SecretItem> object
- */
- Observable>> getSecretVersionsWithServiceResponseAsync(final String vaultBaseUrl, final String secretName);
- /**
- * 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.
- * @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 getSecretVersions(final String vaultBaseUrl, final String secretName, final Integer maxresults);
-
- /**
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getSecretVersionsAsync(final String vaultBaseUrl, final String secretName, final Integer maxresults, final ListOperationCallback serviceCallback);
-
- /**
- * 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.
- * @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 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.
- * @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);
-
- /**
- * 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
- * @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.
- */
- PagedList getDeletedSecrets(final String vaultBaseUrl);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getDeletedSecretsAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
-
- /**
- * 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
- * @return the observable to the PagedList<DeletedSecretItem> object
- */
- Observable> getDeletedSecretsAsync(final String vaultBaseUrl);
-
- /**
- * 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
- * @return the observable to the PagedList<DeletedSecretItem> object
- */
- Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl);
- /**
- * 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.
- * @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.
- */
- PagedList getDeletedSecrets(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * 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.
- * @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> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedSecretItem> object
- */
- Observable> getDeletedSecretsAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<DeletedSecretItem> object
- */
- Observable>> getDeletedSecretsWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * 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.
- * @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 DeletedSecretBundle object if successful.
- */
- DeletedSecretBundle getDeletedSecret(String vaultBaseUrl, String secretName);
-
- /**
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture getDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedSecretBundle object
- */
- Observable getDeletedSecretAsync(String vaultBaseUrl, String secretName);
-
- /**
- * 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.
- * @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.
- * 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.
- * @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
- */
- void purgeDeletedSecret(String vaultBaseUrl, String secretName);
-
- /**
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture purgeDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
-
- /**
- * 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.
- * @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.
- * 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.
- * @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 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.
- * @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 SecretBundle object if successful.
- */
- SecretBundle recoverDeletedSecret(String vaultBaseUrl, String secretName);
-
- /**
- * 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 serviceCallback the async ServiceCallback to handle successful and failed responses.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture recoverDeletedSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
-
- /**
- * 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.
- * @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 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable> recoverDeletedSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName);
-
- /**
- * 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.
- * @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 BackupSecretResult object if successful.
- */
- BackupSecretResult backupSecret(String vaultBaseUrl, String secretName);
-
- /**
- * 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.
- * @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 backupSecretAsync(String vaultBaseUrl, String secretName, final ServiceCallback serviceCallback);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the BackupSecretResult object
- */
- Observable backupSecretAsync(String vaultBaseUrl, String secretName);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the BackupSecretResult object
- */
- Observable> backupSecretWithServiceResponseAsync(String vaultBaseUrl, String secretName);
-
- /**
- * 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.
- * @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 SecretBundle object if successful.
- */
- SecretBundle restoreSecret(String vaultBaseUrl, byte[] secretBundleBackup);
-
- /**
- * 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.
- * @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 restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup, final ServiceCallback serviceCallback);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable restoreSecretAsync(String vaultBaseUrl, byte[] secretBundleBackup);
-
- /**
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the SecretBundle object
- */
- Observable> restoreSecretWithServiceResponseAsync(String vaultBaseUrl, byte[] secretBundleBackup);
-
- /**
- * List certificates in a 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
- * @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);
-
- /**
- * List certificates in a 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getCertificatesAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
-
- /**
- * List certificates in a 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
- * @return the observable to the PagedList<CertificateItem> object
- */
- Observable> getCertificatesAsync(final String vaultBaseUrl);
-
- /**
- * List certificates in a 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
- * @return the observable to the PagedList<CertificateItem> object
- */
- 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. 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, final Boolean includePending);
-
- /**
- * List certificates in a 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 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. 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, final Boolean includePending);
-
- /**
- * List certificates in a 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, 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. 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.
- * @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 DeletedCertificateBundle object if successful.
- */
- DeletedCertificateBundle deleteCertificate(String vaultBaseUrl, String certificateName);
-
- /**
- * 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. 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.
- * @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 deleteCertificateAsync(String vaultBaseUrl, String certificateName, final ServiceCallback serviceCallback);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedCertificateBundle object
- */
- Observable deleteCertificateAsync(String vaultBaseUrl, String certificateName);
-
- /**
- * 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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the DeletedCertificateBundle object
- */
- Observable> deleteCertificateWithServiceResponseAsync(String vaultBaseUrl, String certificateName);
-
- /**
- * Sets the certificate contacts for the specified key vault.
- * 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.
- * @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 Contacts object if successful.
- */
- Contacts setCertificateContacts(String vaultBaseUrl, Contacts contacts);
-
- /**
- * Sets the certificate contacts for the specified key vault.
- * 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.
- * @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 setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts, final ServiceCallback serviceCallback);
-
- /**
- * Sets the certificate contacts for the specified key vault.
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the Contacts object
- */
- Observable setCertificateContactsAsync(String vaultBaseUrl, Contacts contacts);
-
- /**
- * Sets the certificate contacts for the specified key vault.
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the Contacts object
- */
- Observable> setCertificateContactsWithServiceResponseAsync(String vaultBaseUrl, Contacts contacts);
-
- /**
- * Lists the certificate contacts for a 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
- * @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 Contacts object if successful.
- */
- Contacts getCertificateContacts(String vaultBaseUrl);
-
- /**
- * Lists the certificate contacts for a 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture getCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback);
-
- /**
- * Lists the certificate contacts for a 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
- * @return the observable to the Contacts object
- */
- Observable getCertificateContactsAsync(String vaultBaseUrl);
-
- /**
- * Lists the certificate contacts for a 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
- * @return the observable to the Contacts object
- */
- Observable> getCertificateContactsWithServiceResponseAsync(String vaultBaseUrl);
-
- /**
- * Deletes the certificate contacts for a specified key vault.
- * 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
- * @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 Contacts object if successful.
- */
- Contacts deleteCertificateContacts(String vaultBaseUrl);
-
- /**
- * Deletes the certificate contacts for a specified key vault.
- * 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture deleteCertificateContactsAsync(String vaultBaseUrl, final ServiceCallback serviceCallback);
-
- /**
- * Deletes the certificate contacts for a specified key vault.
- * 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
- * @return the observable to the Contacts object
- */
- Observable deleteCertificateContactsAsync(String vaultBaseUrl);
-
- /**
- * Deletes the certificate contacts for a specified key vault.
- * 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
- * @return the observable to the Contacts object
- */
- Observable> deleteCertificateContactsWithServiceResponseAsync(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. 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
- * @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.
- */
- PagedList getCertificateIssuers(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. 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the {@link ServiceFuture} object
- */
- ServiceFuture> getCertificateIssuersAsync(final String vaultBaseUrl, final ListOperationCallback serviceCallback);
-
- /**
- * List certificate issuers for a 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
- * @return the observable to the PagedList<CertificateIssuerItem> object
- */
- Observable> getCertificateIssuersAsync(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. 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
- * @return the observable to the PagedList<CertificateIssuerItem> object
- */
- 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. 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.
- * @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.
- */
- PagedList getCertificateIssuers(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * List certificate issuers for a 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.
- * @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> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults, final ListOperationCallback serviceCallback);
-
- /**
- * List certificate issuers for a 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateIssuerItem> object
- */
- Observable> getCertificateIssuersAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * List certificate issuers for a 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.
- * @throws IllegalArgumentException thrown if parameters fail the validation
- * @return the observable to the PagedList<CertificateIssuerItem> object
- */
- Observable>> getCertificateIssuersWithServiceResponseAsync(final String vaultBaseUrl, final Integer maxresults);
-
- /**
- * Sets 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.
- * @param provider The issuer provider.
- * @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 IssuerBundle object if successful.
- */
- IssuerBundle setCertificateIssuer(String vaultBaseUrl, String issuerName, String provider);
-
- /**
- * Sets 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.
- * @param provider The issuer provider.
- * @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